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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

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

mehr als 10 Jahre vor | 1

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 1

Beantwortet
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/...

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 4

| akzeptiert

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

mehr als 10 Jahre vor | 0

| akzeptiert

Mehr laden