Community Profile

photo

Jonas


Last seen: 3日 前
203 2019 年以降の合計貢献数

Jonas's バッジ

  • 12 Month Streak
  • Thankful Level 2
  • Knowledgeable Level 3
  • First Review
  • Revival Level 1
  • First Answer

詳細を表示...

貢献した分野
表示方法

回答済み
How to exchange data between Simulink model and App Designer when run in EXTERNAL MODE?
Does this example learn anything? openExample('SlrtAddAppDesignerAppToInvertedPendulumModelExample'); app = slrt_ex_pendulumAp...

3日 前 | 0

回答済み
How can i fix this error?
Delete the mentioned file. It is just a cache file which is not necessary. Otherwise, maybe boot MATLAB in Administrator mode.

5日 前 | 0

回答済み
Separate Simulink block name into several lines
Shift + Enter

5日 前 | 0

回答済み
curren value of signal in scope
It is not possible with the Scope block. As you found out, you can only find the value on a vertical cursor of one signal at a t...

5日 前 | 0

回答済み
constant compare only drives one reset
The root-cause is because the Delay block is Direct Feedthrough. This means that it processes its inputs and directly sets the n...

7日 前 | 0

| 採用済み

回答済み
Changing function packaging of Simulink Functions to inlined
I have the same question. I want to inline a Simulink Function, but the option is disabled. However, when integrating a Simulink...

9日 前 | 0

回答済み
How to count how many times a state is visited?
Write the following inside state A: en: counter = counter + 1; and initialise counter = 0. The counter will be incremented on...

10日 前 | 0

| 採用済み

回答済み
Best Practices for Simulink Simulation to Embedded Code
The text book way of working is to develop your controller inside a separate Simulink model file, and then using a simulation ha...

10日 前 | 0

回答済み
How to find a ratio of a current value of signal to its previous value in Simulink?
Use Unit Delay block to store the previous signal value. Use Divide block to take the division of the signal and the output of ...

12日 前 | 0

回答済み
how to use a vector output from a certain block as an input for if block, or is it possible?
So you have been posting this same question four times now in one form or another, but still it is not clear. What are those 2x...

15日 前 | 0

回答済み
How to determine a Stateflow sequence?
https://nl.mathworks.com/help/stateflow/ug/about-active-state-data.html In the Model Explorer, for your Stateflow chart, check ...

18日 前 | 0

| 採用済み

回答済み
Simulink wire color based on signal value?
No. But you can preprocess the signal by multiplying it with a logical signal, which would be true when the signal is >0 for exa...

24日 前 | 0

回答済み
[Simulink] How can I specify to start a matlab embedded function's execution only when receiving a specific signal ?
Put the MATLAB Function inside an Enabled Subsystem.

約1ヶ月 前 | 1

| 採用済み

回答済み
My main folder is not generated during code generation of simulink model
Did you check 'Generate an example main program' under Code Generation > Templates?

約1ヶ月 前 | 0

回答済み
where is function block parameters:fcn that expression ex) sin(u(1))+cos(u(1))
Apparently the Fcn block is now considered obsolete and not recommended for usage, see its documentation. It has been removed fr...

約1ヶ月 前 | 0

回答済み
Plotting a signal with XY Graph (Simulink)
Send a Sinewave signal through a Relay block and plot the two signals using a XY Scope block.

約1ヶ月 前 | 0

回答済み
Trying to create a controller to maintain a certain speed
Use a PI-controller which receives 60MPH as setpoint and receives the actual speed, which controls the engine torque.

約1ヶ月 前 | 1

| 採用済み

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

約1ヶ月 前 | 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...

約1ヶ月 前 | 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.

約1ヶ月 前 | 0

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

約2ヶ月 前 | 0

| 採用済み

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

約2ヶ月 前 | 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...

約2ヶ月 前 | 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...

約2ヶ月 前 | 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...

約2ヶ月 前 | 0

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

約2ヶ月 前 | 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....

2ヶ月 前 | 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...

2ヶ月 前 | 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...

2ヶ月 前 | 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 ...

2ヶ月 前 | 0

| 採用済み

Load more