Respondida
Unexpected Response when Welding Two Beams created in SimMechanics
According to the <http://www.mathworks.com/help/physmod/sm/mech/ref/weld.html documentation> you can only connect a weld joint b...

más de 10 años hace | 0

Respondida
Trimming simulink models using findop/linear analysis tool
To determine the steady-state control input, you must ensure that your root level model has an input port feeding as an input in...

más de 10 años hace | 0

Respondida
DC motor with PID
1. When you say you get very high voltage values, do you mean the output of the controller outputs very high voltages? If this i...

más de 10 años hace | 0

Respondida
View externally-scoped variables in Workspace browser
There is an option 'Function Call Stack' in the toolstrip of the MATLAB editor when in debug mode. Change this drop down option ...

más de 10 años hace | 0

| aceptada

Respondida
How can I get the bode diagram between the velocity (input) and the force (output) on the damp in simMechanics?
<http://www.mathworks.com/help/physmod/sm/mech/ug/linearizing-mechanical-models.html> In this <http://www.mathworks.com/help/...

más de 10 años hace | 0

| aceptada

Respondida
How to run a simulation with an input array?
Use this <http://www.mathworks.com/help/simulink/slref/constant.html block> in your model. You can create a for loop in a script...

más de 10 años hace | 0

Respondida
Error using c2d extraction for block initialization
I am assuming the code you posted lives only in the mask initialization of your block. In that case the variable 'x' and 'y' go ...

más de 10 años hace | 0

| aceptada

Respondida
Compile error for Robotics toolbox
You need to have the Robotics System Toolbox to use this example. You can see if you have the toolbox by entering the following ...

más de 10 años hace | 0

| aceptada

Respondida
how to reduce run time of this binary 2D region growing code?
The MATLAB compiler is typically used when you want to deploy programs as standalone applications. If your goal is to compile yo...

más de 10 años hace | 0

Respondida
Optimization of multivariable function using fminunc
Define your function handle like so: f = @(x) x(1:a) * A + x(a+1:end) * B where: X = x(1:a) , Y = x(a+1:end) the...

más de 10 años hace | 0

Respondida
%<BaseSampleTime> variable not available in simulink model-tlc file?
I do not know of any TLC function to get the base sample time of the model. There is however a list of <http://www.mathworks.com...

más de 10 años hace | 0

| aceptada

Respondida
Modelling and simulation of a mechanical compressor using matlab simulink
The following blocks represent ideal compressors in the Pneumatic Simscape library: <http://www.mathworks.com/help/releases/R...

más de 10 años hace | 0

Respondida
How does sample time in Simulink translate into generated code for hardware?
Assuming you are generating code with the ert.tlc file, you must associate the 'rt_OneStep' function in the generated 'ert_main....

más de 10 años hace | 1

Respondida
How can I get the output of Abaqus in increment way continuously using Matlab?
Though I am not sure about the command line API for Abaqus, you can certainly run bash scripts and send input files from MATLAB ...

más de 10 años hace | 0

Respondida
How to import C #defines into MATLAB/ Simulink
The best way to do this is to use the custom code settings in a Simulink model to add any custom macros you may want to add. For...

más de 10 años hace | 0

Respondida
Is it possible to access CAN messages from .dbc file using message ID in the Vehicle Network Toolbox?
The <http://www.mathworks.com/help/vnt/ug/canmessage.html canMessage> API allows you to do this

más de 10 años hace | 0

| aceptada

Respondida
What is the maximum number of signals per scope in the .NET xpc api
It looks like the limitation is the same for both APIs though I haven't tested it out myself

más de 10 años hace | 0

Respondida
Error while building Simulink model on xpc target
Verify that a supported compiler is being used and that the blocks in the model can be compiled with the given compiler and comp...

más de 10 años hace | 0

Respondida
set_param() in Repeating Sequence / Simulink doesn't work
Variables in the workspace are initialized once during model update before the simulation runs. Therefore, a change in value of ...

más de 10 años hace | 0

| aceptada

Respondida
I can't connect the Raspberry Pi 2 board with command "raspi('192.168.0.33,'pi','raspberry');"
The Raspberry Pi 2 is supported <http://www.mathworks.com/hardware-support/raspberry-pi-matlab.html> Try the following com...

más de 10 años hace | 0

Respondida
xPC (Simulink RT) compiler optimization flags
You can find what optimization flags are set for the model you are building by looking at the generated makefile. For instance, ...

más de 10 años hace | 0

Respondida
how to validate identification of a MIMO system with PRBS signal?
Use the 'lsim' command to simulate the output of a system given a set of input signals and a corresponding time vector <http:...

más de 10 años hace | 0

Respondida
Integration on a circular set in simulink
If you have a signal that is > 0 for all time entering in the inport of the model, as time approaches infinity the signal downst...

más de 10 años hace | 0

Respondida
Kalman Filter and Session-Based Interface
You can add a listener to a data acquisition object which will execute a callback on a certain event. The callback can then cont...

más de 10 años hace | 0

| aceptada

Respondida
Problems with programmatically adding 'TabName' property value in mask.
Try setting the tab names with the following commands: mask = Simulink.Mask.get('blockpath'); tab = mask.getDialogContro...

más de 10 años hace | 0

| aceptada

Respondida
ss function and matrix combinations
What are you trying to accomplish by performing these concatenations? In your code for “ssto1”, you are performing concatenatio...

más de 11 años hace | 0

Respondida
3D approximation with spline
Have you checked out the curve fitting toolbox, specifically the “fit” function? <http://www.mathworks.com/help/curvefit/fit....

más de 11 años hace | 0

| aceptada