답변 있음
How to pass from [1x1] to single signal 1 in Simulink?
To go from [1x1] to 1 and vice-versa, use the Reshape block: http://www.mathworks.com/help/simulink/slref/reshape.html To...

대략 13년 전 | 0

| 수락됨

답변 있음
Is there any way to disable code generation in Simulink
Wrap your whole script in a separate MATLAB-file and make it extrinsic so that your MATLAB Function code look like: %%% func...

대략 13년 전 | 6

| 수락됨

답변 있음
How to decatenate or discatenate (opposite of concatenate) a vector in simulink?
Use the Selector block

대략 13년 전 | 0

게시됨


Comparing Runs using Simulation Data Inspector
Do you use the Simulation Data Inspector? Here is an example where it saved me a lot of debugging time. Simulation...

대략 13년 전

Thumbnail

게시됨


Zero-Crossing Detection… what are your options?
When using Simulink variable-step solvers, zero-crossing detection is very useful to capture events accurately. However for...

대략 13년 전

Thumbnail

답변 있음
In a For Iterator Subsystem, how to use the iteration variable ?
The iteration variable is a signal coming out of the For Iterator block. Inside the subsystem, you can use a Selector block:...

대략 13년 전 | 0

게시됨


Implementing a PID Controller on an Arduino Board
This week my colleague Pravallika is back to continue her motor control story! In my previous post, we saw how to estimate...

대략 13년 전

Thumbnail

답변 있음
Initial condition for Memory block with TRIM (Linear Analysis Tool)
The Memory block has an option "Direct feedthrough of input during linearization" if you do not want to initialize it during lin...

대략 13년 전 | 0

답변 있음
Pressure relief valve with proportional control
I recommend using a Pressure Sensor and the Variable Area Orifice. then write a Simscape component (or use blocks from the Physi...

대략 13년 전 | 0

답변 있음
linearising a non-linear plant model
It looks like you are in the right direction: - The System Identification Toolbox is the tool to identify the relation betwee...

대략 13년 전 | 0

| 수락됨

게시됨


Creating Driver Blocks for Arduino, Lego, and other targets
As you may know, it is easy to run Simulink models on a set of supported target hardware. This has been possible since...

대략 13년 전

Thumbnail

게시됨


To Latch or not to Latch?
Yesterday I explained to a colleague the effect of the Inport block option Latch input for feedback signals of function-call...

13년 초과 전

Thumbnail

답변 있음
nested Simulink While Iterators
I don't remember using nested iterator subsystem myself. I was curious, so I searched our database and I cannot find reports of ...

13년 초과 전 | 0

답변 있음
Variable Time Step Solver
I confirm: The "tout" signal apply to all signals that have a "continuous sample time. If you want to see more of what the co...

13년 초과 전 | 0

답변 있음
Modify dynamically a sample time in Simulink
Sample time cannot change during simulation. What you can do is set the sample time as the smallest possible rate you want to...

13년 초과 전 | 1

답변 있음
Simscape: Create unidirectional Locking mechanism component
You will not be able to implement a pure lock. Using Simscape language, you could write an ssc-file to "lock" by enabling a stif...

13년 초과 전 | 0

답변 있음
Difference between 3D Animation Toolbox vs SimMechanics?
If you already implemented the equations in Simulink I would go for Simulink 3D Animation. You will need to find/create VRML obj...

13년 초과 전 | 2

답변 있음
Using same gobal simulation options for a model and all the models that are referred in it
Share the configuration, see details here: http://www.mathworks.com/help/simulink/ug/sharing-a-configuration-set-between-refe...

13년 초과 전 | 0

| 수락됨

게시됨


New for R2013a: Time Scope with Triggering!
Today we are happy to welcome guest blogger Kirthi Devleker to talk about a new trigger functionality added to the Time...

13년 초과 전

Thumbnail

답변 있음
Comment a block or subsystem in simulink
Right-click on it and select "Comment out": http://www.mathworks.com/help/simulink/ug/editing-blocks.html#btms_1l Ctrl+Shi...

13년 초과 전 | 2

| 수락됨

게시됨


Time to Convert to Variant Subsystems
If you are a user of Configurable Subsystems, it is time to start thinking about making the switch to Variant...

13년 초과 전

Thumbnail

답변 있음
Simulink "While Iterator" subsystem development and debugging
The dataset logging format allows you to log all the iterations of For and While Iterator subsystems http://blogs.mathworks.c...

13년 초과 전 | 0

| 수락됨

답변 있음
State Space with variable parameters
Do it with basic blocks. A few Product, Sum, and Integrator blocks will do the job. This solution might help: http://www.m...

13년 초과 전 | 0

| 수락됨

답변 있음
How to group same buses together over a MUX ?
Use Concatenate: http://www.mathworks.com/help/simulink/slref/concatenate.html

13년 초과 전 | 0

| 수락됨

게시됨


Some of My Favorite New Features in R2013a
MATLAB R2013a is now available for download! At the end of this post, I reveal my favorite feature in R2013a… what will it...

13년 초과 전

Thumbnail

답변 있음
how to integrat matlab simulink model in a raspberry pi????
You have a good timing! It is available today in R2013a: http://www.mathworks.com/academia/raspberry-pi/

13년 초과 전 | 1

| 수락됨

답변 있음
HOW TO MAKE ODE14X RUN WITHOUT ERRORS?
Very likely this is because the dynamics in your model is too fast to be captured by the solver step size. You know... the Nyqui...

13년 초과 전 | 0

답변 있음
The art of delaying (discrete)
Sample Time Offset: http://blogs.mathworks.com/seth/2011/11/20/sample-time-offset/

13년 초과 전 | 1

| 수락됨

답변 있음
how to write a program or a simulink block of a 3 dimensional nonlinear torsional equations of a mechanical system?
This might help if you want to use SimMechanics: http://www.mathworks.com/tagteam/43892_AIAA20076479KennedyFinal.pdf

13년 초과 전 | 0

답변 있음
Why does my If Action block have vertical bars next to port names?
It is an optional display to let you know if the execution context of the conditionally executed subsystem can propagate outside...

13년 초과 전 | 2

| 수락됨

더 보기