回答済み
Executing Triggered/Enabled Subsystem
Use a Function Call Subsystem. In your Stateflow chart, use an Event and execute that on a state transition. Set the type of the...

約3年 前 | 0

回答済み
setting priorities on atomic subsystems
When using Data Store Memories, Simulink does not relate execution order from the placement of Data Store Read versus Data Store...

約3年 前 | 0

回答済み
How do I remove a signal from a scope?
Enable to display the Legend in the Scope. Click on the signal in the Legend box to hide it.

約3年 前 | 2

回答済み
Embedded Coder - How to generate code from subsystems, without optimizations ?
You can force Embedded Coder to create a separate function of a Subsystem by checking the option 'Treat as Atomic Subsystem' fro...

約3年 前 | 0

| 採用済み

回答済み
Help on Matlab Simulink
Set the initial value of the 1/z Unit Delay block to 31.

約3年 前 | 0

回答済み
What is the difference between rtu and rtb varibles in auto code generation from simulink data?
By default, local block output variables are appended with the prefix 'rtb_'. This setting can be changed in the Configuration P...

約3年 前 | 0

| 採用済み

回答済み
where to place the "From" block in this simulink model
Just delete the Goto blocks if you don't use them or disable the diagnostic for missing From blocks in the Configuration Paramet...

約3年 前 | 1

回答済み
Dimensions being inconsistent even though nothing has changed the output
The [1x1] seems to suggest it is interpreted as a matrix (although with height and width of 1), and not as a scalar with dimensi...

約3年 前 | 0

回答済み
How to plot the trajectory of point in Simscape?
Use the XY Graph block from Simulink.

約3年 前 | 0

回答済み
need output for a time interval of 1 month
If you set the time step to 1, you can just build your model where one time step equals one month. Time in Simulink is relative....

約3年 前 | 0

回答済み
A question about the current control for BLDC (Trapezoidal motor)
I did not open your Simulink model, but if the current rises so slowly, I would think either the inductance of your motor is too...

約3年 前 | 1

回答済み
Implementing a discrete buffer, i.e. a Memory Block with multiple frames
Here is example code for storing the last 10 samples. Of course, you can adapt to memorize more history samples. Summary: Use a...

約3年 前 | 0

| 採用済み

回答済み
Repeating pattern when sending serial data in Simulink
If you place blocks in a Simulink model, the blocks will be executed with a certain cycle time. This means thus you are sending ...

約3年 前 | 0

| 採用済み

回答済み
Why does Simulink mark a subsystem in purple?
Received feedback from MathWorks Support that it is a bug that the purple highlighting persists and a bug fix has been requested...

約3年 前 | 2

| 採用済み

質問


Why does Simulink mark a subsystem in purple?
Simulink has marked a subsystem with a purple border. The border color of the block itself is still black, but there is another ...

約3年 前 | 2 件の回答 | 1

2

回答

回答済み
Repeating sequence as an input to a stateflow chart from Simulink, the first value is not read and calculated
Add breakpoints in you Stateflow model, and then step each and every cycle to analyse the value of the input ports and the state...

約3年 前 | 0

回答済み
how to get current path in a stateflow?
You should look into Stateflow Animations. It will highlight the latest path taken in blue during simulation, and the last path ...

約3年 前 | 0

| 採用済み

回答済み
How to calculate integral (surface area bellow curve) in Simulink?
Integrator block

約3年 前 | 1

質問


Slower simulation than usual
Hi all I am running a simulation in Simulink. Usually the simulation takes about 15 minutes in real-time for 60 seconds of simu...

約3年 前 | 0 件の回答 | 0

0

回答

回答済み
When is subsystem reference a better choice than model reference?
Subsystem References is new functionality to Simulink, it is only supported since R2019b. So industry will only slowly evolve to...

約3年 前 | 12

| 採用済み

回答済み
simulation time in hours
I am not particularly certain how your model behaves dynamically, and if it is made in the discrete time space or continuous tim...

約3年 前 | 0

回答済み
How can I count the number of times an input reaches a certain value?
Take the signal for the frost layer thickness, use a Relational Operator to compare if the signal is larger than a constant of 8...

約3年 前 | 0

回答済み
How to linearly fit a semilog graph
https://nl.mathworks.com/matlabcentral/answers/163349-linear-fit-of-a-semilog-graph?s_tid=answers_rc1-1_p1_MLT https://nl.mathw...

約3年 前 | 0

回答済み
How many Workspace's we have in MATLAB ?
There are three locations to store model data: Base workspace Model workspace Data dictionary Find more info here on the com...

約3年 前 | 0

回答済み
Breakdown the matrix signal into individual signals in Simulink
If you have a vector signal with three elements, you can extract those elements using the Demux block. The Mux block allows crea...

約3年 前 | 0

回答済み
Simulink: 4 bytes to float
Another way is to construct your output manually with 'Shift Arithmetic' blocks and perform bitshifts: The input to the left ...

約3年 前 | 2

回答済み
Simulink: 4 bytes to float
Use the Byte Unpack block and feed those 4 bytes into it after you have muxed them. Set Output port data type to {'single'} if y...

約3年 前 | 0

回答済み
How to determine the moment (time) at which the signal exceeded the set value in simulink?
Put an integrator block with input 1 inside an enabled subsystem. Use a relational operator to see if your exponential function ...

約3年 前 | 0

回答済み
How to use Enabled subsystems?
Change the Enable Port of the enabled subsystem to be 'Reset' for 'Status when enabling'. Set the 'Output when disabled' of the ...

約3年 前 | 0

回答済み
Simscape/Powergui diognastic - what does a red frame mean?
When there is an error/issue with blocks at build time, the diagnostic viewer can allow the blocks which cause the error to be h...

約3年 前 | 0

さらに読み込む