Answered
how to run the matlab code step-by-step?
Use the debugger. See <http://www.mathworks.com/help/releases/R2011a/techdoc/matlab_env/f2-4931.html Editing and Debugging MATLA...

12 years ago | 3

Answered
the use of the linear quadratic requlator method in the state space controller and observer design
The matrices R and Q are essentially design parameters or weights that you have to choose as part of the control system design, ...

12 years ago | 0

| accepted

Answered
How can one get Block Choices for a Configurable Subsystem in an array by using Matlab Command?
get_param(gcb,'BlockChoice') will give you the current block choice for the block. get_param(gcb,'MemberBlocks') wi...

12 years ago | 1

| accepted

Answered
Variable orifice
Yes, I see the same error in R2009b. The problem is with the pressure differential values, you only provide two values and the <...

12 years ago | 0

Answered
How I can model the limit of the speed and acceleration using a Simulink block?
Presumably, you're feeding your valve block with a signal representing the opening of the valve. How is that signal generated? ...

12 years ago | 1

Answered
Difference between Simulink Coder, Embedded Coder and Matlab Coder
MATLAB Coder is used to generate ANSI C/C++ code from MATLAB and is a pre-requisite for Simulink Coder and Embedded Coder. Simul...

12 years ago | 10

Answered
Exporting NX (Unigraphics) models to SimMechanics
As you found out, NX is not supported out of the box. However, there is an <http://www.mathworks.com/help/releases/R2011a/toolbo...

12 years ago | 0

| accepted

Answered
translational body spring damper system with friction
Hi, Looking at your model, I would make the following comments: * This is a numerically stiff system, so use a stiff solve...

12 years ago | 1

| accepted

Answered
Problem to resolve algebraic loop
Put the transfer function between the voltage measurement block and the Simulink - PS Converter block, or between the PS - Simul...

12 years ago | 1

Answered
Help in Solver error
It really isn't difficult, you need to start thinking... The following is pretty self-explanatory: <<https://lh6.googleuserco...

12 years ago | 2

Answered
Simulink Coder(RTW) can be purchased separately without having entire Matlab software?
For Simulink Coder, you need MATLAB, MATLAB Coder and Simulink (unless you already have those, in which case you can add Simulin...

12 years ago | 0

Answered
matlab 2011
Ask the IT department of your university what's the best way for you to access MATLAB, they may have some licenses available for...

12 years ago | 0

Answered
Varying parameters During a simulation
Also have a look at <http://www.mathworks.com/matlabcentral/fileexchange/24294-simulink-signal-viewing-using-event-listeners-and...

12 years ago | 1

| accepted

Answered
Sampletime/rate from mask Initialization
Have you tried: get_param(gcb,'CompiledSampleTime') HTH, Arnaud

12 years ago | 0

Answered
How could you find the index number of an answer output?
[max_value, max_idx] = max(drhodz) The index |ii| corresponding to the maximum value |max_value| is given by |max_idx|. ...

13 years ago | 0

| accepted

Answered
Plotting 3D graph using measured points
Maybe try <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/plot3.html |plot3|>. Arnaud

13 years ago | 1

| accepted

Answered
Where can I find information on CCS IDE versions that can be supported with Embedded Coder?
<http://www.mathworks.co.uk/products/embedded-coder/ti-adaptor.html> HTH, Arnaud

13 years ago | 0

| accepted

Answered
TLC file syntax help?
Have you read the documentation on <http://www.mathworks.com/help/releases/R2011a/toolbox/rtw/tlc/bp6j4co.html Target Language C...

13 years ago | 1

| accepted

Answered
Photovoltaic MPPT fuzzy logic in Matlab/Simulink
If your signal is discrete, you can use the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/difference.htm...

13 years ago | 0

| accepted

Answered
sample time mismatch
One of your busses has a continuous sample time, while the other one a discrete sample time of 1s. Use a <http://www.mathworks.c...

13 years ago | 2

Answered
Transfer data wireless
You can maybe use the <http://www.mathworks.com/help/releases/R2011a/toolbox/instrument/tcpipsend.html TCP/IP Send> and <http://...

13 years ago | 1

Answered
How do I run a simulation with a transfer function block and a multi dimensional input ?
The transfer function block only supports scalar input signals, hence the error, see the <http://www.mathworks.com/help/releases...

13 years ago | 0

Answered
Simulink Design Optimisation
If you want to inject your measured input data in the model, use one or more root-level <http://www.mathworks.com/help/releases/...

13 years ago | 0

Answered
Doubt in SOC of battery
The SOC is calculated as follows (see <http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/powersys/ref/battery.html B...

13 years ago | 0

Answered
Help in my model
What is the value of your resistance and what's the amplitude of your current source? I suspect current's still flowing through ...

13 years ago | 0

| accepted

Answered
How to generate .m file from SIMULINK model (.mdl file)?
As Andreas suggested, use the <http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/slref/sim.html |sim|> command to r...

13 years ago | 1

Answered
Help to understand generic battery model
I think the second one is correct. The first one would be correct too if the - port was grounded (which it isn't). HTH, Ar...

13 years ago | 0

| accepted

Answered
Doubt in Ideal Switch
Are you referring to the <http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/powersys/ref/idealswitch.html Ideal Swit...

13 years ago | 1

Answered
Problem with connection
Just use a <http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/powersys/ref/seriesrlcbranch.html Series RLC Branch> i...

13 years ago | 3

Answered
Connecting to xPC Target machine takes too long time
I would suggest <http://www.mathworks.co.uk/support/service_requests/contact_support.do contacting technical support>. HTH, ...

13 years ago | 0

Load more