Answered
How to save calculated value into Simulink workspace
The easiest thing to do when your system is nonlinear (as in your case) is not to use a State-Space block. Instead, if possible,...

10 years ago | 1

| accepted

Answered
How to get a transfer function from a Simulink mathematical model synchronous machines?
If you have Simulink Control Design, you can linearize your generator block as shown <http://www.mathworks.com/help/slcontrol/ug...

10 years ago | 2

Answered
single-stage single-phase dc-ac converter
SimPowerSystems alreadhas a <http://www.mathworks.com/help/physmod/sps/powersys/ref/pwmgenerator2level.html PWM Generator block>...

10 years ago | 0

Answered
Remove input/outputs from stateflow chart
You can open up the Model Explorer and modify all your Stateflow data (input, output, parameters, local, etc.). This is shown in...

10 years ago | 11

| accepted

Answered
Modeling Pressurized System with SimHydraulics
We'd need to know the parameters of the orifice block and the actual displacement you're feeding it via the Signal Builder block...

10 years ago | 0

Answered
How do I connect my wifi robot to matlab via ROS?
You want MATLAB to connect to the IP address of whatever is running the ROS Master. Is that on the rover itself? Once you hav...

10 years ago | 0

Answered
StateFlow: Temporal Logic After
If you use transitions and nodes, you don't get the benefits of states "remembering" their previous location. Like you descr...

10 years ago | 0

Answered
error in the rosmatlab application: Undefined variable "rosmatlab" or class "rosmatlab.node....
Starting with R2015a, there is an official <http://www.mathworks.com/products/robotics/ Robotics System Toolbox> that replaces a...

10 years ago | 0

| accepted

Answered
Best way to call Simulink subsystem with various input parameters by skript
If possible, you should convert that subsystem into a separate Simulink model. That lets you call the model by itself using the ...

10 years ago | 0

Answered
How to develop the variant subsystem in lower versions of MATLAB?
In older versions, there should be a <http://www.mathworks.com/help/simulink/slref/configurablesubsystem.html Configurable Subsy...

10 years ago | 0

| accepted

Answered
problem of using rapid accelerator in simulink
LCC is the free compiler which comes with your MATLAB install and is used by default if you have nothing else. The other one you...

10 years ago | 0

Answered
What's the difference between MATLAB function block and Interpreted MATLAB function block?
The MATLAB Function block is compiled before run-time (R2014b and earlier, it generates C code and compiles; R2015a and later, i...

10 years ago | 4

| accepted

Answered
How to set the Diagnostics: Automatic Solver Parameter Selection to none using Matlab work space.
I believe this is the command: set_param(sysName,'SolverPrmCheckMsg','none'); In general, you can right-click the option...

10 years ago | 1

| accepted

Answered
Calculating eigenmode and eigenfrequency with Simmechanics 2nd generation
If you have access to Simulink Control Design, you could try <http://www.mathworks.com/discovery/linearization.html linearizing...

10 years ago | 0

Answered
Set Pressure and Flow Rate in Simulink (SimHydraulics)
I don't believe that is possible, because the Ideal Flow Rate Source will provide whatever pressure is necessary to maintain a g...

10 years ago | 0

| accepted

Answered
Lego Mindstorms NXT Support Package
Without knowing what the error message is, I know I've run into trouble installing the support package when the install folder i...

10 years ago | 0

Answered
Put a Discrete-time ARX model into simulink
The System Identification Toolbox has Simulink blocks in a "System Identification Toolbox" library. For linear ARX models, you c...

10 years ago | 1

| accepted

Answered
There in no torque actuator in matlab simdriveline.
The <http://www.mathworks.com/help/physmod/simscape/ref/idealtorquesource.html Ideal Torque Source> block is under Simscape > Fo...

10 years ago | 0

Answered
Error when trying to setup a feedback control loop in SimMechanics 2nd Gen
As the error message mentions, you need to connect a <http://www.mathworks.com/help/physmod/simscape/ref/solverconfiguration.htm...

10 years ago | 0

Answered
HOW TO SET LINEAR/NONLINEAR/UNBALANCED/BALANCED LOAD IN MATLAB SIMULATION???
I'm guessing you have access to SimPowerSystems since you're asking about blocks. The <http://www.mathworks.com/help/physmod/...

10 years ago | 2

Answered
How to update the library block
In newer versions of SimPowerSystems, you can connect multiple lines into the same branch. Therefore, you don't need a T-connect...

10 years ago | 0

| accepted

Answered
Suitable alternative for "T connector element" from old matlab version 6.0 to new matlab2015a version 8.5
It appears that SimPowerSystems was much different in the previous version you refer to, in that the signal lines were Simulink ...

10 years ago | 0

| accepted

Answered
Selecting the default Intial working directory
There is a MATLAB preference to set the initial working folder: http://www.mathworks.com/help/matlab/matlab_env/preferences.h...

10 years ago | 0

Answered
Simulink toolbox to model pv array, battery, inverter, dc-dc converter, mppt, grid
If your electrical system is multi-phase -- particularly three-phase -- then the answer is simple: use SimPowerSystems. Other...

10 years ago | 0

Answered
How can I "black box" a Simulink Model?
If you have Simulink Coder, you can create a <http://www.mathworks.com/help/simulink/ug/protecting-referenced-models.html protec...

10 years ago | 1

| accepted

Answered
PID control action for AC reference of variable amplitude and frequency.
You need to do the PID control on a frame that rotates with the AC waveform. In other words, you need to find a way to measure y...

10 years ago | 0

Answered
How can I save a Simulink model that uses StateFlow charts which I made using the r2015a release, so that users with r2014a or older may open and run the model?
Are you trying to run the model, save din R2015a format, in an older version? If so, there isn't a guarantee that it will work. ...

10 years ago | 1

| accepted

Answered
How do I dq0-transform voltage and current in phasor-mode?
What exactly are you trying, and how does it not work? Do you have a screenshot and/or error message? My understanding is tha...

10 years ago | 0

Answered
How to use object instances in embedded matlab function
Since "ice" is already a variable visible inside that mask, you could create a parameter in the MATLAB Function block, as shown ...

10 years ago | 0

Answered
State space representation using function block in simulink
Any particular reason you are using a MATLAB Function block instead of a <http://www.mathworks.com/help/simulink/slref/statespac...

10 years ago | 0

Load more