Community Profile

photo

Jonas


Last seen: 2 days ago
172 total contributions since 2019

Jonas's Badges

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

View details...

Contributions in
View by

Question


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 ...

1 day ago | 1 answer | 0

1

answer

Answered
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 days ago | 0

Answered
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 days ago | 0

Question


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...

6 days ago | 0 answers | 0

0

answers

Answered
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...

6 days ago | 1

| accepted

Answered
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...

6 days ago | 0

Answered
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...

9 days ago | 0

Answered
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...

9 days ago | 0

Answered
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...

11 days ago | 0

Answered
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...

11 days ago | 0

Answered
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 ...

12 days ago | 1

Answered
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...

12 days ago | 0

Answered
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 ...

13 days ago | 0

Answered
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 ...

13 days ago | 0

Answered
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...

13 days ago | 0

Answered
How can I connect custom hardware to MATLAB or Simulink?
It is not that easy. You will need to create a custom target. There is a step by step workflow for Cortex-A based processors and...

17 days ago | 0

Answered
Simulink Programmatic Modeling - Large quantity of blocks
I have never programatically created a Simulink model, so I admire you for doing that, but cannot help with the specific functio...

18 days ago | 0

Answered
how to add rainfall data of one year as input in simulink
From Workspace

22 days ago | 0

Answered
How do I run an "example.m" file in Simulink?
In the MATLAB workspace type and enter: >> example Or, go to the editor and click the green play button 'Run'. Or press the '...

23 days ago | 0

Question


Warning: Value of enumeration member 'NULL' differs from when the enumeration was saved.
Hi all I have several Simulink.Enumeration data objects inside a Data Dictionary linked to a Simulink model. I am now working o...

23 days ago | 0 answers | 0

0

answers

Question


Cannot perform an implicit cast between these two classes. - Fixed numbers
Hi all I have a simple Simulink Function, which accepts two uint32 inputs: I use this function for stateflow transitions. Ty...

25 days ago | 0 answers | 0

0

answers

Answered
To disable or hide content preview for all subsystems by using model explorer
It is not possible using the Model Explorer, but you can do it this way: Go to the highest level of your model Select all (ctr...

1 month ago | 0

| accepted

Answered
Wireless communication between 2 Simulink blocks without Goto/From
Global Goto/From blocks Data Store Memory block with Data Store Read and Data Store Write blocks The advantage of the first so...

1 month ago | 0

| accepted

Answered
How to use the state port of an integrator block in Simulink?
I don't really understand completely how your set-up looks like (can you post a screenshot maybe?) but I feel like instead of us...

1 month ago | 1

| accepted

Answered
i don't have the powergui block
Hi If you have properly installed the Simscape with Simscape Electrical toolbox, it should be listed under: Simscape > Electric...

2 months ago | 0

Answered
How to simulate a electric filter in Simulink?
You have grounded the output of the opamp behind the voltage sensor block. The voltage sensor block has zero impedance. You shou...

2 months ago | 0

Answered
Matlab 2020Rb External mode missing
Check if your System Target File is correctly set to an External-mode-capable option inside the Configuration Parameters.

2 months ago | 0

Answered
How to Make m script run faster?
You should run the code Profiler to get information on which specific pieces of code take a long time to execute. This way, you ...

3 months ago | 0

Answered
Units for Time in Simulink
Simulation time is always seconds. In this particular model, they just adjusted the parameters (like heat power) such that 1 se...

3 months ago | 0

| accepted

Load more