Answered
Generating signal with variable frequency
See my example here: http://blogs.mathworks.com/seth/2011/03/08/how-do-i-change-a-block-parameter-based-on-the-output-of-anot...

15 years ago | 0

| accepted

Answered
Selecting bus signal from variable in Simulink
Use the MATLAB Function block (previously called Embedded MATLAB Function block). This does not work exactly as you describe, ...

15 years ago | 0

Answered
Simulink missed some of the time values during simulation?
See my post here: http://blogs.mathworks.com/seth/2011/06/20/importing-variable-step-signals-into-simulink/ For a variable...

15 years ago | 0

| accepted

Published


How to customize the Simulink Scope – Take 2
Among all the posts I made in the last year, one that received many comments is How to customize the Simulink Scope. In this...

15 years ago

Thumbnail

Answered
Simulation of a pneumatic system
In Simulink you can implement the equations of any system you want to model. For pneumatic, there is a specific toolbox, Sims...

15 years ago | 0

Answered
Can I create my own Workflow Advisor?
Simulink Verification and Validation can help you do that. http://www.mathworks.com/products/simverification Look at the d...

15 years ago | 0

Answered
How to represent a 6DoF platform using SimMechanics?
There is a Stewart Platform demo shipped with SimMechanics. The Stewart platform is a 6dof platform, actuated by 6 linear actuat...

15 years ago | 0

| accepted

Answered
get Bus signal names
Since R2010b I think, you can use the "SignalHierarchy" property of a port to get the names of each signal in a bus. fo example,...

15 years ago | 5

Answered
Copying a subsystem from one model to another
Fangjun's solution is possible, but this is probably simpler with function like: Simulink.SubSystem.copyContentsToBlockDiagra...

15 years ago | 2

| accepted

Answered
Simulink Signal and Physical Signal
You should be able to find what you need in the doc: 1. During Runtime, the Simscape engine combine all the components in you...

15 years ago | 2

| accepted

Published


Simulink Projects: Collaborative workflows and Model-Based Design
MATLAB R2011b is available for download since midnight September 1, 2011! Each new release brings some excitement, but...

15 years ago

Thumbnail

Answered
Is it possible to measure the body vibration of an induction motor in Simulink?
Thanks for adding details... you problems is not realy what I imagined form your original question. The SimPowerSystems induc...

15 years ago | 0

Published


Controlling signal logging from Model Explorer
Today I want to share a useful trick to control signal logging using the Model Explorer. Enabling Logging from the Signal...

15 years ago

Thumbnail

Answered
Can I adjust the matrix of state-space model during simulation in Simulink?
See my answer here: http://www.mathworks.com/matlabcentral/answers/10373-dynamic-transfer-function-in-simulink There is a ...

15 years ago | 0

| accepted

Answered
Zero Crossing Detection in Simscape (specifically SimHydraulics)
Based on my experience, I do NOT recommend to turn off zero-crossing in a Simscape model. As you probably saw in the next link, ...

15 years ago | 1

| accepted

Published


The Dataset logging format
Did you notice the new Dataset logging format available in R2011a? This new format offers a lot of advantages over...

15 years ago

Thumbnail

Answered
How can I hide some library blocks in library browser
To hide or disable blocks and libraries in the Simulink Library Browser, you need to create an sl_customization.m file. The proc...

15 years ago | 0

| accepted

Answered
Problem: how to get datas from integrator block in simulink
My favorite way to send data each time step from a model to a GUI is with an event listener. See those links: http://www.math...

15 years ago | 0

Answered
k step ahead simulation in simulink subsystems
If your model is linear or close to, you might be interested in the Model Predictive Control Toolbox: http://www.mathworks.co...

15 years ago | 0

Answered
XY graph don't plot
One classic mistake is to forget setting the x and y limits.

15 years ago | 0

Published


Detecting Divide by Zero Errors
Wouldn't it be great if you could analyze a Simulink model and certify that it will never encounter design errors like...

15 years ago

Thumbnail

Answered
Simulink: Accelerator handles parameter change from script, but Rapid Accelerator fails to rebuild
Please contact technical support with your example model if the rapid accelerator does not rebuild when you think it should. ...

15 years ago | 0

Answered
Different PID response from normal feedback loop and unity feedback loop
You are not comparing the same thing. In the upper case, you take a measurement between process and sensor/transmitter. In th...

15 years ago | 0

Published


Are you using the right block?
Working in technical support, I receive a lot of models. Sometimes I am impressed by very clever implementations, but...

15 years ago

Thumbnail

Answered
how to auto tune pid parameters in a closed loop control system when an adams plant exist in the model?
For an optimization of controller parameters that will really simulate the ADAMS block, I recommend going for Simulink Design Op...

15 years ago | 1

Answered
Running Matlab Algorithim in Simulink
To make a real-time application, you will need to generate code for the model. If you use a function that need to be declared as...

15 years ago | 1

| accepted

Answered
Nonlinear solver
This often happens when your model is too ideal and there is a sudden transition. In a hydraulic model, this could for examp...

15 years ago | 2

Answered
sample time mismatch
In the Signal builder, go to the file menu, there is an option to set the sample time. Change it from 0 to 1. I recommend ena...

15 years ago | 1

Published


Model-Based Design of a Hydraulic Press
Today guest blogger Arnaud Miege presents a great example of adopting Model-Based Design. As an application...

15 years ago

Thumbnail

Load more