Submitted

Monte Carlo Simulation with Simulink

Select blocks to vary parameters for Monte Carlo Simulation.

3 years ago | 25 downloads |

Solved

Add a block to a model

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

4 years ago

Solved

Produce a cosine wave

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

4 years ago

Solved

Connect blocks in a model

Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

4 years ago

Answered

I am using Matlab R2011a. I am creating any circuit model in Simulink, and after I simulate, an error log opens saying initialisation commands cannot be evaluated, hw to solve?

Based on the error it sounds like you are utilizing SimPowerSystems. Those blocks require the powergui to determine the solver....

I am using Matlab R2011a. I am creating any circuit model in Simulink, and after I simulate, an error log opens saying initialisation commands cannot be evaluated, hw to solve?

Based on the error it sounds like you are utilizing SimPowerSystems. Those blocks require the powergui to determine the solver....

4 years ago | 1

| accepted

Answered

How to include a slider GUI in a Simuink Model?

You could potentially build a slider as part of a <http://www.mathworks.com/help/simulink/gui/parameters-pane.html mask>. Oth...

How to include a slider GUI in a Simuink Model?

You could potentially build a slider as part of a <http://www.mathworks.com/help/simulink/gui/parameters-pane.html mask>. Oth...

5 years ago | 0

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

5 years ago

Answered

I need a simulink modeling T.C.S (Traction controll system ) or A.B.S (Anti brake System)

There is a complete car model available: http://www.mathworks.com/help/physmod/sdl/ug/complete-car-model-and-simulation.h...

I need a simulink modeling T.C.S (Traction controll system ) or A.B.S (Anti brake System)

There is a complete car model available: http://www.mathworks.com/help/physmod/sdl/ug/complete-car-model-and-simulation.h...

5 years ago | 1

Answered

Calling Planetary EphemerisSimulink Block From .m file. The resulting output is unclear.

Did you try starting from the example? Implement the position and velocity for Saturn with respect to the Solar System baryce...

Calling Planetary EphemerisSimulink Block From .m file. The resulting output is unclear.

Did you try starting from the example? Implement the position and velocity for Saturn with respect to the Solar System baryce...

5 years ago | 1

Answered

How does the (Embedded) MATLAB Function work in Simulink

Thanks for the well written questions. 1) The function regenerates anytime you change the MATLAB function or parameters withi...

How does the (Embedded) MATLAB Function work in Simulink

Thanks for the well written questions. 1) The function regenerates anytime you change the MATLAB function or parameters withi...

5 years ago | 1

Answered

How to use SISO Design tool for a simulink model?

If you're using R2012b or later, in Simulink go to analysis -> Control Design -> Control System Designer. It's a big more a...

How to use SISO Design tool for a simulink model?

If you're using R2012b or later, in Simulink go to analysis -> Control Design -> Control System Designer. It's a big more a...

5 years ago | 0

| accepted

Answered

List containing all parameters that can be set by set_param

ParameterCellArray = get_param(gcb, 'DialogParameters') returns a cell array containing the names of the Object dialog pa...

List containing all parameters that can be set by set_param

ParameterCellArray = get_param(gcb, 'DialogParameters') returns a cell array containing the names of the Object dialog pa...

5 years ago | 1

| accepted

Answered

symbolic state space representation & transfer function

Symbolic representation is not compatible with the controls tools. You would have to do this manually.

symbolic state space representation & transfer function

Symbolic representation is not compatible with the controls tools. You would have to do this manually.

5 years ago | 0

| accepted

Answered

Changing Simscape Block Properties during simulation

Depending on your implementation this may work (post a picture of what you've got or upload a model for better answer). You c...

Changing Simscape Block Properties during simulation

Depending on your implementation this may work (post a picture of what you've got or upload a model for better answer). You c...

5 years ago | 1

Answered

quick loging and un-logging of Simulink signals

From 13b release notes: http://www.mathworks.com/help/simulink/release-notes.html Data Management Streamlined selection...

quick loging and un-logging of Simulink signals

From 13b release notes: http://www.mathworks.com/help/simulink/release-notes.html Data Management Streamlined selection...

5 years ago | 0

| accepted

Answered

Can a Switch block handle signals of Mux?

Without fully understanding your setup, all inputs to a switch must have the same size. For example, if you have a mux with 2 e...

Can a Switch block handle signals of Mux?

Without fully understanding your setup, all inputs to a switch must have the same size. For example, if you have a mux with 2 e...

5 years ago | 0

Answered

Contact modeling between two bodies

I'm not sure the ideal way to do this, but off the top of my head I think you would want to set up a conditional for when they c...

Contact modeling between two bodies

I'm not sure the ideal way to do this, but off the top of my head I think you would want to set up a conditional for when they c...

5 years ago | 1

| accepted

Answered

how can i see the live value on my Simulink Modell during Simulation

Try <http://www.mathworks.com/help/simulink/ug/displaying-block-outputs.html show port value display>

how can i see the live value on my Simulink Modell during Simulation

Try <http://www.mathworks.com/help/simulink/ug/displaying-block-outputs.html show port value display>

6 years ago | 0

Answered

Modelling a Quadrotor with Simmechanics

Depending on what you're looking to do, this can be done with either Aero Blks or SimMech. From scratch, aero blks is easier be...

Modelling a Quadrotor with Simmechanics

Depending on what you're looking to do, this can be done with either Aero Blks or SimMech. From scratch, aero blks is easier be...

6 years ago | 0

Answered

Simulink rapid acceleration creates temp files which fill drive

What's your parfor loop look like? You might be able to do something like parfor i = 1:100 eval(['myOutput' num2str...

Simulink rapid acceleration creates temp files which fill drive

What's your parfor loop look like? You might be able to do something like parfor i = 1:100 eval(['myOutput' num2str...

6 years ago | 0

Answered

Reported 'algebraic loop error' when I was using feed back in logic simulation.

http://www.mathworks.com/help/simulink/ug/simulating-dynamic-systems.html#f7-19688 Long story short, the input of the highlig...

Reported 'algebraic loop error' when I was using feed back in logic simulation.

http://www.mathworks.com/help/simulink/ug/simulating-dynamic-systems.html#f7-19688 Long story short, the input of the highlig...

6 years ago | 0

Answered

Is it possible to estimate the Transport Delay within a Simulink model using the Simulink Design Optimization toolbox?

You can set the delay in the transport to a workspace variable. You can then bring the workspace variable into the optimization...

Is it possible to estimate the Transport Delay within a Simulink model using the Simulink Design Optimization toolbox?

You can set the delay in the transport to a workspace variable. You can then bring the workspace variable into the optimization...

6 years ago | 0

| accepted

Answered

Brewery Manufacturing Process Simulation

Try <http://www.mathworks.com/help/simevents/ug/generating-multiple-entities-at-simulation-start.html generating entities at sim...

Brewery Manufacturing Process Simulation

Try <http://www.mathworks.com/help/simevents/ug/generating-multiple-entities-at-simulation-start.html generating entities at sim...

6 years ago | 1

Answered

How do you represent contact with the ground in simscape?

You want the <http://www.mathworks.com/help/physmod/simscape/ref/translationalhardstop.html translational hard stop> block. ...

How do you represent contact with the ground in simscape?

You want the <http://www.mathworks.com/help/physmod/simscape/ref/translationalhardstop.html translational hard stop> block. ...

6 years ago | 0

Answered

Documentation for expamples on simulink for beginners

I would start with the Simulink examples on the <http://www.mathworks.com/products/simulink/examples.html?s_tid=sima_nav_ve prod...

Documentation for expamples on simulink for beginners

I would start with the Simulink examples on the <http://www.mathworks.com/products/simulink/examples.html?s_tid=sima_nav_ve prod...

6 years ago | 0

Answered

Simulink with Simscape make mistake while calculating derivative

It appears to be a units issue, at least with your understanding of the mathematics. Put the frequency in as 1/(2*pi) hz, equiv...

Simulink with Simscape make mistake while calculating derivative

It appears to be a units issue, at least with your understanding of the mathematics. Put the frequency in as 1/(2*pi) hz, equiv...

6 years ago | 0

Answered

How to process mat-files saved by Simulink Data Inspector in Matlab?

You should check out the <http://www.mathworks.com/help/simulink/ug/record-and-inspect-signal-data-programmatically.html SDI API...

How to process mat-files saved by Simulink Data Inspector in Matlab?

You should check out the <http://www.mathworks.com/help/simulink/ug/record-and-inspect-signal-data-programmatically.html SDI API...

6 years ago | 0

Answered

[Simulink] Rate limiter dynamic with a variable-step solver

You could put a rate transition on the input signal to the block. This would make the input signal fixed sample time and resolv...

[Simulink] Rate limiter dynamic with a variable-step solver

You could put a rate transition on the input signal to the block. This would make the input signal fixed sample time and resolv...

6 years ago | 0

Answered

Rate Limiter Block Error

Try changing the sample time of the step to either -1 or a sample rate. The problem is the default rate is 0, which is neither ...

Rate Limiter Block Error

Try changing the sample time of the step to either -1 or a sample rate. The problem is the default rate is 0, which is neither ...

6 years ago | 1

Answered

Why is their an offset when I intergrate a simple sin(1*x) in simulink using the (1/s) block?

You need to set the <http://www.mathworks.com/help/simulink/slref/integrator.html initial condition> of the integrator. I belie...

Why is their an offset when I intergrate a simple sin(1*x) in simulink using the (1/s) block?

You need to set the <http://www.mathworks.com/help/simulink/slref/integrator.html initial condition> of the integrator. I belie...

6 years ago | 0