回答済み
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

| 採用済み

回答済み
Pneumatic Check Valve - how do I model one from basic elements?
You have 2 options: - Build it using basic components. This will very likely involve some mechanical components like spring-m...

13年以上 前 | 1

回答済み
Programmatically Building a Rapid Simulation (RSim) Target
did you try slbuild? http://www.mathworks.com/help/simulink/slref/slbuild.html

13年以上 前 | 0

| 採用済み

回答済み
Identical blocks in Simulink with identical inputs from different sources results in different solutions
Are the colors in your image sample time colors? If yes, do you have the same response using ode1 solver? If ode1 solver give...

13年以上 前 | 1

回答済み
Simulink "Goodness" Block, Function to Coefficeint
With only one point, I don't know... but with a buffer of past points, this sounds like a cross-correlation: http://www.mathw...

13年以上 前 | 0

| 採用済み

公開済み


MATLAB Language in Stateflow
Have you noticed a new block in the Stateflow Library since R2012b? The MATLAB Chart block uses MATLAB as the action...

13年以上 前

Thumbnail

公開済み


I can’t believe it took me 6 months to find that!
This week, after using Simulink R2012b for 6 months, I discovered a little something I find very useful. Closing...

13年以上 前

Thumbnail

公開済み


Data Dependency Violation Errors and Subsystem Semantics
Did you ever receive a "data dependency violation" error message from a Simulink model? I will try to explain why...

13年以上 前

Thumbnail

回答済み
LEGO NXT - Datalog ability - adjustments of external mode or other solutions?
Here are a few info that might help you based on my experience: - Typically, external mode is a lower priority process. If yo...

13年以上 前 | 0

| 採用済み

公開済み


Accessing Block Data During a Simulation
This week I discovered that event listeners also work with bus signals! You might be saying: "What is an event...

13年以上 前

Thumbnail

回答済み
Signal flow in Simulink Model
The sorted order is the way to see in which order blocks are executed.... this is equivalent to the data flow: http://www.mat...

13年以上 前 | 1

| 採用済み

回答済み
Dynamic Masking using Checkboxes
In R2012b we added new examples showing how this can be done: http://blogs.mathworks.com/seth/2013/01/17/which-callback-shoul...

13年以上 前 | 0

回答済み
Simulink: How to start simulation of a subsystem separately?
The Step block uses the time from the model, you cannot offset it. Typically, to do what you are looking for you will need to im...

13年以上 前 | 0

回答済み
How to handle Algebraic Loops for Simulink Coder to C++ when the model is function fine and Simulink is autosolving the loops?
To get a better look at the loop, use the Simulink Debugger. "ashow" will allow you to see each loop (you mention 10). Using "at...

13年以上 前 | 0

公開済み


Which callback should I use?
This week's post has been triggered by question recently posted on this blog regarding Masking and Variant Subsystems. If...

13年以上 前

Thumbnail

回答済み
Simulink API: Identify SF blocks with 'User specified states/transition execution order' set 'ON'
Try the Stateflow API http://www.mathworks.com/help/stateflow/api/overview-of-the-stateflow-api.html You should be able to...

13年以上 前 | 0

回答済み
How to create fuzzy subsystem in simulink?
This should give you a good overview of the concept: http://www.mathworks.com/videos/fuzzy-logic-controller-in-simulink-68767...

13年以上 前 | 0

| 採用済み

回答済み
How can I create an array in Stateflow in the form Arr= [x y z]?
In R2012b, the MATLAB Chart was introduce. In this release your initial attempt should work.

13年以上 前 | 0

回答済み
stopping simulation at t=0!!!
Use the Simulink debugger. It will allow you to probe all blocks I/O and states just before the error happens. Put a breakpoint ...

13年以上 前 | 1

回答済み
Reducing lag caused by masked Simulink blocks
One thing I like to do is storing the image data in the block user data. I do not guarantee it will lead to great improvemen...

13年以上 前 | 0

| 採用済み

回答済み
Euler to Quaternion transformation block
Like most blocks in the Aerospace Blockset, the block is a masked subsystem... look under the mask to see its implementation.

13年以上 前 | 0

| 採用済み

回答済み
Signal dimensions of a bus in Simulink
I think your understanding is correct. To verify that, go to the model configuration -> Diagnostics -> Connectivity You wi...

13年以上 前 | 0

公開済み


Congratulations to the Winners of the 2012 Simulink Student Challenge!
The 2012 Simulink Student Challenge is complete and we have our winners! Thanks to everyone who participated. All of the...

13年以上 前

Thumbnail

回答済み
Initial Pressure in Segmented Pipe LP Block?
To observe the pressure at each node, I recommend using the Simscape Logging Explorer: http://www.mathworks.com/matlabcentral...

13年以上 前 | 0

| 採用済み

回答済み
Error running parallel simulations
It might be because both workers are trying to build/access/delete the mex-file a the same time. Look at the documentation pa...

13年以上 前 | 0

公開済み


Where is the Reverse Multi-port Switch Block?
I recently noticed requests for a block implementing a behavior that might be called "Reverse Multiport Switch". You can...

13年以上 前

Thumbnail

公開済み


What Is Simulation?
This week we are taking a break from Simulink features and capabilities to take a step back and look at the history of...

13年以上 前

Thumbnail

さらに読み込む