Answered
Missing Link in Simscape Webinar
Try <http://www.mathworks.co.uk/company/events/webinars/wbnr57525.html this one>. Arnaud

13 years ago | 0

| accepted

Answered
simmechanics link
Make sure that the STL files exported from SolidWorks are in the same directory as your SimMechanics model, or on your MATLAB pa...

13 years ago | 0

Answered
S-functions with ode45 in Matlab
You don't need to "apply" ode45 to an S-function since Simulink has its own solver. See <http://www.mathworks.com/help/releases/...

13 years ago | 0

Answered
How can I get ode solutions for the time steps I run the model instead of having values at the calculation time steps the solver chooses?
Have a look at the <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/ode45.html documentation> for |ode45|: |tspan: ...

13 years ago | 1

Answered
Two translational ports on a Mass block in SimScape
Do you mean like this? <<https://lh5.googleusercontent.com/-UXgjul9NN04/TgIptnLM0CI/AAAAAAAABYs/AkHn5zzDOAs/mass_spring_dampe...

13 years ago | 1

Answered
PID output...
You may also need to add some additional control to prevent <http://en.wikipedia.org/wiki/Integral_windup integrator windup>. Th...

13 years ago | 0

Answered
Stop Simulink simulation base don a variable value
Or use a <http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/stopsimulation.html Stop Simulation> block. You w...

13 years ago | 1

| accepted

Answered
Electromegnetic brakes
Derive the mathematical equations of the system and implement them in Simulink, as in this <http://ece.mst.edu/documents/class_e...

13 years ago | 1

| accepted

Answered
Using the From File data
You can't. Simulink is time-based, so it will use the data stored in your MAT file to output at each time step the relevant valu...

13 years ago | 0

| accepted

Answered
String as variable in simulink
In the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/gui/f8-11110.html Initialization pane>, use <http://www.m...

13 years ago | 0

| accepted

Answered
Simulink complexity propogation
As Walter pointed out, it means that in your Stateflow machine |modelo_novo|, Simulink has inferred that |V| should be a complex...

13 years ago | 0

Answered
Error in port widths or dimensions
Have a look at the error message in more detail. It'll tell you: such block is outputting a signal of dimension x and is driving...

13 years ago | 3

| accepted

Answered
Accesing simulink data in Realtime
Use <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/ug/f4-141721.html Model Reference> to include your second mo...

13 years ago | 0

| accepted

Answered
NOT-ideal compressor in simscape
Here are a few models you can maybe inspire yourself from: * <http://alexandria.tue.nl/repository/books/711032.pdf Multi-Phys...

13 years ago | 2

| accepted

Answered
plot error
You need to use element-wise operating rather matrix opertaions. Read about <http://www.mathworks.com/help/releases/R2011a/techd...

13 years ago | 0

Answered
Simulink: rectangular pulse filter with finite rise time?
Or filter the ideal pulse generated from say the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/pulsegene...

13 years ago | 1

Answered
Why these two codes produce different graphs? How can I make the second graph be like the first?
Fangjun's correct. To get the same plot, use <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/stairs.html |stairs|>: ...

13 years ago | 1

| accepted

Answered
Comparing if statement performance
I would suggest either a MATLAB Function block or Stateflow. Simulink and if action susbsytems are OK for relatively simple logi...

13 years ago | 1

| accepted

Answered
Problems with adding block from target link into a model
You maybe need to load the library before using |add_block|: load_system('tllib'); add_block('tllib/Constant','mysys/nameo...

13 years ago | 0

| accepted

Answered
GUI-Simulink
Have a look at <http://www.mathworks.co.uk/matlabcentral/fileexchange/24294 Simulink Signal Viewing using Event Listeners and a ...

13 years ago | 0

Answered
Simulink create Mask with tabs
Yes, it's possible. When you create a mask and define the various parameters of the mask, for each parameter you have a column e...

13 years ago | 0

| accepted

Answered
32-bit MATAB and 64-bit SolidWorks, which SimMechanics Link?
That won't work. You need either a 32-bit installation of both MATLAB and SolidWorks or a 64-bit installation of both MATLAB and...

13 years ago | 0

| accepted

Answered
Best OS for Matlab
If you use Excel and want to read/write from/to Excel, I would recommend Windows to get the fully functionality. Similarly, if y...

13 years ago | 1

Answered
how to operate on rows and columns of a matrix variable generated from SIMULINK output, using SIMULINK blocks?
Probably through a combination of <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/selector.html Selector> ...

13 years ago | 0

Answered
Tutorial on Importing C code into Simulink with Visual C++ Express 2010
Have a read of <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/sfg/bq4g1es-1.html Integrating Existing C Functio...

13 years ago | 0

Answered
Where can I see how much time it takes to simulate a .m file?
Use <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/tic.html |tic|> and <http://www.mathworks.com/help/releases/R2011...

13 years ago | 0

| accepted

Answered
How to create Linux MEX File in Windows 7 x64
Have a look at <http://www.mathworks.co.uk/matlabcentral/answers/9223-how-can-i-compile-a-file-for-linux-under-windows-7 this qu...

13 years ago | 1

Answered
Animation of image
Have a look at the <http://www.mathworks.com/help/releases/R2011a/techdoc/creating_plots/f10-1460.html Animation> section of the...

13 years ago | 0

Answered
How can I compile a file for Linux under windows 7?
I don't believe you can. You need to compile it under Linux if the compiled application is to be used under Linux. Arnaud

13 years ago | 0

| accepted

Answered
How can I convert a system with delay from continuous to discrete and from discrete to continuous and the result be the same?
I agree with Ivan and Fangjun. Try the following code and you'll see the warnings in the MATLAB command window: sys=tf(1,[1...

13 years ago | 1

Load more