Réponse apportée
adding space before capital letters in variable names
Try the code in <http://www.mathworks.com/matlabcentral/newsreader/view_thread/133658 this thread>: % a string s='var...

environ 13 ans il y a | 0

Réponse apportée
How can read data of entity in queue
You can try using Decdatt's suggestion along with <http://www.mathworks.com/help/matlab/ref/persistent.html persistent variables...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
simple buffer in simlink embedded matlab
What is the size of pres on line ~11 versus the size on line ~18? It looks like the size of the output of xstore(1:Nu,1) ...

environ 13 ans il y a | 0

Réponse apportée
Can i convert the following code into Matlab embedded function(for simulink use)
I'm not sure if this will help but there is a <http://www.mathworks.com/matlabcentral/fileexchange/5060-rs232-blockset RS232 Blo...

environ 13 ans il y a | 0

Réponse apportée
Can synchronous Sampling be done by Matlab
Assuming you have an accurate time related to each signal, you could use the <http://www.mathworks.com/help/matlab/ref/timeserie...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
[Help] Ball and Beam Simulink animation
I would suggest checking out this <http://www.mathworks.com/products/3d-animation/examples.html multipart video series> on using...

environ 13 ans il y a | 0

Réponse apportée
Linearize non-linear system using Matlab/Simulink
Your best bet is to perform the first linearization in the <http://blogs.mathworks.com/seth/2011/12/14/welcome-to-the-linear-ana...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
Anrdroid development on MATLAB
Your best bet is probably <http://www.mathworks.com/products/matlab-coder/ MATLAB coder>. You can generate c-code from your MAT...

environ 13 ans il y a | 0

Réponse apportée
What is the sample time in Rapid Control Prorotyping?
I think you have the right idea. The only time the power/speed of the Speedgoat components should come into play is when you hi...

environ 13 ans il y a | 0

Réponse apportée
How to numerically solve ordinary differential equations using Matlab?
<http://www.mathworks.com/support/solutions/en/data/1-GNHTB3/index.html;jsessionid=70e6674e71ea1a0b7fd446765b44 Fixed Step ODE S...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Start & stop opeartions using single push button
You could set a flag when you hit start, for example isRunning = 1; setappdata(handles.myPushbutton,'isRunning',isRunn...

environ 13 ans il y a | 1

Réponse apportée
Error with the DynamicSystem Toolbox
It appears that oyu have a 3rd party toolbox installed. The 'tf' function is usually part of the control system toolbox and it ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Represent Simulink Integrator block as Matlab Function
As this looks like a homework problem, I can't answer directly. However I will point you in the direction of <http://www.mathwo...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
alternative to "mask" to initialize parameters?
There are a number of <http://www.mathworks.com/help/simulink/ug/using-callback-functions.html model callback> functions you can...

environ 13 ans il y a | 0

Réponse apportée
Can I have a bus whose elements are buses with several dimensions?
A bus of busses it possible, you can try it manually using Simulink to verify yourself. It sounds like you have a bus, Output, ...

environ 13 ans il y a | 0

Réponse apportée
How to change a initial Seed in during Simulink?
The random intervleaver is likely not tunable during simulation. In other words, you have to stop, change the seed, then hit pl...

environ 13 ans il y a | 0

Réponse apportée
PID Clamping circuit - Problem with Fixed-Point Data Type
This is an issue that was resolved in R2012b by adding some data type converts in the clamping circuit. You can see how the cla...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Differential equations on MATLAB
I believe <http://www.mathworks.com/help/matlab/ref/ode45.html ODE45> may be what you're looking for. Have a look at that docum...

environ 13 ans il y a | 0

Réponse apportée
Change vector size in Simulink
You can use a gain block utilizing matrix multiplication instead of element-wise that has a vector, such as: [eye(3) zeros...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
having trouble defining a non-linear state space model
There are two issues here: 1) The SS model is incorrect. The applied torque should be modeled as an input which is part of t...

environ 13 ans il y a | 0

Réponse apportée
Stopping fmincon based on timer
It looks like you are trying to replicate a <http://www.mathworks.com/help/matlab/ref/timer.html timer object> which is already ...

environ 13 ans il y a | 0

Réponse apportée
how to get the parameters of step response?
You can use the system identification GUI to analyze data and estimate a transfer function from that data. In this case you are...

environ 13 ans il y a | 0

Réponse apportée
velocity and acceleration - apply filter
You could try using the <http://www.mathworks.com/help/curvefit/smooth.html smooth function>. This will smooth the data with ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Transfer function in Simulink different from Matlab
The easiest way to achieve the desired results would be with the <http://www.mathworks.com/help/control/ref/ltisystem.html LTI S...

environ 13 ans il y a | 0

Réponse apportée
How to simulate a model with a different timestep using a model block
Based on the description it sounds like you want a MODEL BLOCK to run faster than the main model using a fixed time step. This ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Question about simulation in Simulink
Check out <http://www.mathworks.com/matlabcentral/answers/867 this answer> regarding the inf/NaN issue. Regarding simulatio...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Export states to workspace in simulink configuration parameters
Checkout the <http://www.mathworks.com/help/simulink/ug/saving-and-restoring-the-simulation-state-as-the-simstate.html save and ...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
cell operations for varargin and varargout
Unfortunately cell arrays are not really supported for code generation, which is essentially what embedded MATLAB does to run. ...

environ 13 ans il y a | 1

Réponse apportée
Simulink get_param and RuntimeObject
Via <http://www.mathworks.com/matlabcentral/answers/13992-problem-how-to-get-datas-from-integrator-block-in-simulink Guy's post>...

environ 13 ans il y a | 2

| A accepté

Réponse apportée
Copy Parameters from Stateflow
There are a couple of things you can try depending on your limitations. 1) You can add an output from the stateflow model f...

environ 13 ans il y a | 1

Charger plus