Answered
How can I slow down a Simulink (R2015a) model so I can watch the dynamic behavior on a plot?
You can use the Real-Time Pacer block from the following File Exchange entry to slow your model down to CPU clock "soft" real-ti...

10 years ago | 0

| accepted

Answered
Simulink: how to run sub-simulations inside a simulation
My guess is you don't need to complicate the model by spawning "sub-simulations". You should be able to make your controller...

10 years ago | 0

Answered
Simulink SimPowerSystems Breaker - Tunable on resistance, Ron
You may need to make your own "variable resistor" component which accepts resistance values from an input port. Then, you could ...

10 years ago | 0

| accepted

Answered
Simulink Question - Processing Time Profiler
There certainly is a Simulink profiler. This is one documentaion page about it: http://www.mathworks.com/help/simulink/ug/ho...

10 years ago | 0

Answered
Simscape: unable to use two fluids as in simulation model of fuel injector
What happens if you replace the Double-Acting Hydraulic Cylinder block with two Single-Acting Hydraulic Cylinder blocks and a me...

10 years ago | 0

| accepted

Answered
how i can apply pneumatic force on Piston
Are you familiar with <http://www.mathworks.com/products/simscape/ Simscape>? This modeling framework which sits on Simulink pro...

10 years ago | 1

| accepted

Answered
Slow simulation times, when switching at high frequency
That makes sense! If your frequency is higher, then there are more switching events per second that fire off <http://www.mathwor...

10 years ago | 0

| accepted

Answered
How does Simulink/MATLAB decide on the precision of its output?
My guess would be the following: Simulink uses a combination of <http://www.mathworks.com/help/simulink/gui/solver-pane.html#...

10 years ago | 0

Answered
Minimize Cost in Simulink
You can use Optimization Toolbox and write cost functions by hand. Basically, each cost function must: # Assign a combination...

10 years ago | 1

Answered
first order nonlinear ordinary differential equation simulink
That is the correct modeling approach, but for all |k>0| that system is unstable. That is why you're getting the error messa...

10 years ago | 1

Answered
Is there something in SimMechanics 2G replacing the Prismatic Translational Interface from SimMechanics 1G?
Since SimMechanics 2G outputs physical signals, all you need is 2 Simscape blocks to make this type of connection: Ideal Transla...

10 years ago | 0

| accepted

Answered
How can I do a physical element simulation in C2000 kit using simscape elements of the simulink library?
You should be able to if you have the right code generation tools, like Embedded Coder in your case to connect to the C2000. ( <...

10 years ago | 0

Answered
High frequency input on Ideal transformer
I just tried this with a simple example model and saw the same behavior at 1000 Hz. This happens because, as you increase the fr...

10 years ago | 1

| accepted

Answered
Simscape: setting common simulation parameter?
If you right-click any of those parameters, there's a *What's This?* context menu you can click. Among that documentation, you s...

10 years ago | 0

| accepted

Answered
1) In SimMechanics, are second order dynamics considered?
Second-order dynamics as in springs and dampers? Yes, they are. You can do any of the following: # Configure joint blocks to ...

10 years ago | 1

| accepted

Answered
How can physical signal line can be connected with power system blocks?
With the voltage/current source/sensor blocks in SimPowerSystems. You basically want to make sure your Simulink equations are of...

10 years ago | 0

Answered
Using replace_block with Simscape
Just tried the same command as you and it works fine on my end... although the block name stays the same. Is that maybe the case...

10 years ago | 0

| accepted

Answered
What kind of a solver do I need to select for solving Simscape models combined with normal simulink models?
Simscape models are generally stiff systems -- that is, they have a combination of high and low frequencies. All the solvers tha...

10 years ago | 1

Answered
Connect SimPowerSystems PV Array to Simscape Electrical Elements
There's a group of Interface blocks in SimPowerSystems > Specialized Technology > Interface Elements (or just SPS > Interface El...

10 years ago | 0

Answered
How do I avoid an Algeraic loop?
The algebraic loop comes from the "P" branch of the PID controller. This input of the Simscape network is directly dependent on ...

10 years ago | 1

| accepted

Answered
How can I programmatically set the enum name of a chart with output port monitoring of child activity?
I think you can use the <http://www.mathworks.com/help/stateflow/programmatic-manipulation.html Stateflow API> to do this, thoug...

10 years ago | 0

Answered
Curve Fitting a Transfer Function
In System Identification Toolbox, there is a "tfest" function. Notice that one way to call it is by specifying the data, as well...

10 years ago | 0

Answered
How Do I Use Subscriber Block to Get Messages from a ROS Node Running in Linux?
It should work, as geometry_msgs/Point is definitely a supported message type in Robotics System Toolbox. First thing I would...

10 years ago | 0

Answered
Use ideal gas in SimHydraulics
Hmm... probably not. That parameter just tweaks the bulk modulus characteristics of the fluid as its pressure changes. You shoul...

10 years ago | 0

| accepted

Answered
powergui block in simulink
You need to save data using a Scope block, ensuring that the data is formatted as a "Structure with Time". Search <http://www.ma...

10 years ago | 0

| accepted

Answered
Bus Objects using multiple Data Dictionaries in Large Models
I agree with your idea. Assuming you want to have one separate dictionary of parameters for each model? If so, each of those...

10 years ago | 0

| accepted

Answered
Finding trajectory in SimMechanics
You should connect a <http://www.mathworks.com/help/physmod/sm/ref/transformsensor.html Transform Sensor> block to the center of...

10 years ago | 0

| accepted

Answered
How to find a variable in Simulink Model
The most general answer to your question is to use the <http://www.mathworks.com/help/simulink/ug/the-model-explorer-overview.ht...

10 years ago | 4

| accepted

Answered
Trouble with modelling an induction machine
You definitely can model induction machines in SimPowerSystems -- typically with the <http://www.mathworks.com/help/physmod/sps/...

10 years ago | 0

| accepted

Load more