回答済み
mfile version of Simulink integrator
This should get you started: http://en.wikipedia.org/wiki/Bogacki%E2%80%93Shampine_method You might also be interested to ...

12年以上 前 | 0

回答済み
What is the difference between using Data Store Blocks & Delay block to avoid algebraic loop error
The performance is the same and both options are computationally equivalent. In my opinion here what should guide your choice is...

12年以上 前 | 0

| 採用済み

公開済み


Why you should use the Function-Call Split block
Today I had a good discussion with a user regarding the Function-Call Split block introduced in R2010a. On one side, the...

12年以上 前

Thumbnail

回答済み
find_system versus Simulink.findVars
Simulink.findVars returns a list of simulink.variableusage objects. http://www.mathworks.com/help/simulink/slref/simulink.var...

12年以上 前 | 0

| 採用済み

公開済み


Quickly Switching Model Configuration Sets
During the life of a model, you will very likely need to change many configuration parameters to complete different tasks....

12年以上 前

Thumbnail

回答済み
changing matrix dimension in simulink circuit gives an error....
Specify the dimensions of the ports of the MATLAB function blocks... it will help the engine to propagate the correct dimensions...

12年以上 前 | 0

回答済み
continuous integrator vs discrete-time integrator
What you observe is expected. Different blocks... different results ;-) Use Scope blocks to understand the evolution. As y...

12年以上 前 | 0

| 採用済み

回答済み
Systematically pause Simulink model and continue from Matlab command line
In most cases where I have seen users asking to control the execution of a model from MATLAB code, the most appropriate solution...

12年以上 前 | 0

公開済み


MATLAB Tech Talks: Bode Plot
This week we are introducing MATLAB Tech Talks - short videos explaining important engineering concepts in an informal and...

12年以上 前

Thumbnail

公開済み


Defining custom shortcuts in Simulink
On this blog, I sometimes highlight features that it took me a while to appreciate and include in my daily workflow. I...

12年以上 前

Thumbnail

公開済み


The Easiest Way to Import Signals Into Your Model
A benefit of Model-Based Design is using the same model to accomplish several tasks: tuning, testing, debugging, combining...

12年以上 前

Thumbnail

回答済み
Inverse Dynamics is SimMechanics
SimMechanics First Generation can handle inverse dynamics (specifying motion and measure force/torques). Since R2012a, SimMe...

12年以上 前 | 0

| 採用済み

回答済み
How to measure force in SimMechanics second generation?
This is not directly possible in R2013a. We are working on that for a future release. As a workaround, you can actuate the de...

12年以上 前 | 0

回答済み
Understanding the rate transition block in realtime windows target
The "scheduling" chapter of he Simulink Coder documentation will explain you how to control ow the execution of a slow task can ...

12年以上 前 | 0

| 採用済み

公開済み


Model Explorer or Command Line?
Today I would like to ask you a question. This week I received a large model where I wanted to find all the Lookup Table...

12年以上 前

Thumbnail

回答済み
Can I modify how a native Simulink block is auto-coded?
The Code Replacement Library seems to be what you are looking for. See this example: http://www.mathworks.com/help/coder/exam...

12年以上 前 | 0

| 採用済み

回答済み
Supported Matlab Functions in Simulink
Use coder.extrinsic if you do not need to generate code.

12年以上 前 | 0

| 採用済み

公開済み


Configuring Models for Linear Analysis
One of the benefits of Model-Based Design is the ability to perform linear analysis on your non-linear model and design...

12年以上 前

Thumbnail

公開済み


Sum Block: Round or Rectangular?
Working in technical support, I see a lot of Simulink models from users. I have realized that many users do not know how to,...

13年弱 前

Thumbnail

回答済み
Simulink Problem: Derivative input is Inf
Use the Simulink debugger to identify where the Inf or NaN originates. There is a "NaN" breakpoint.

13年弱 前 | 1

| 採用済み

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

| 採用済み

さらに読み込む