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

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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/...

mehr als 14 Jahre vor | 0

Beantwortet
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: ...

mehr als 14 Jahre vor | 1

Beantwortet
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...

mehr als 14 Jahre vor | 1

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

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 1

| akzeptiert

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

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 3

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 2

| akzeptiert

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

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 1

Beantwortet
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|>: ...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

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

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 1

Beantwortet
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> ...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 1

Beantwortet
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...

mehr als 14 Jahre vor | 0

Beantwortet
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

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 14 Jahre vor | 1

Mehr laden