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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

| aceptada

Respondida
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#...

más de 10 años hace | 0

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

más de 10 años hace | 1

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

más de 10 años hace | 1

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

más de 10 años hace | 0

| aceptada

Respondida
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. ( <...

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 1

Respondida
How to run the m-file in an infinite loop. I have to run this for the real time experiment. I have to acquire the process variable into a m-file and run that continuosly to control the porcess. My need is to run m-file in an infinite loop.
How "real-time" does this have to be? If you're OK using the CPU clock time, I'd recommend using <http://www.mathworks.com/help/...

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 4

| aceptada

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

más de 10 años hace | 0

| aceptada

Cargar más