Community Profile

photo

Jonas


Last seen: 3 days ago
140 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

Answered
How to do eeg preprocessing
You should use breakpoints to step by step understand the code. Seems to use fairly basic MATLAB commands. Regarding toolboxes,...

7 days ago | 0

Answered
How to concatenate vectors and matrices as inputs to a MATLAB fnc block in SIMULINK?
If you are trying to concatenate a 1x1, 3x1 and 3x3 input, how do you expect the output to look like? It's not possible... I th...

18 days ago | 0

Answered
Data Type for time variable in after() function in Stateflow
I have done some tests and it appears that it accepts all integer or floating data types. Does not accept booleans.

20 days ago | 0

| accepted

Answered
Remove same types of Simulink blocks using commands
Hi David I don't know the answer to your specific question, but I may provide you with other options to cope with your problem....

20 days ago | 0

Question


Data Type for time variable in after() function in Stateflow
Hi all I want to use the after(delay,'msec') function to guard a transition in a Stateflow chart. The variable delay is a Simul...

24 days ago | 1 answer | 0

1

answer

Answered
HOW TO GET License for matlab
In MATLAB, typ the command ver

27 days ago | 0

Answered
Older Toolbox Licensing Question
Yes, you can download any release and use your active license. You can select and download a release here: https://nl.mathworks....

28 days ago | 0

Answered
Can anybody suggest how to learn about embedded coder? Its User guide is 3000 + pages which seems to be time consuming.. Where to start from and how to learn in depth.
For most products there are dedicated trainings available. Nowadays they are all online. For Embedded Coder it's a two-day cour...

1 month ago | 0

Answered
Get algebraic loops error in one computer and not get it in another
You may want to fiddle with the Configuration Parameters, more specifically your Solver Settings. You are simulating a Simulink ...

1 month ago | 0

| accepted

Answered
Using model reference with different system target files
You need to create Data Dictionaries and use the Model Explorer. I will explain step by step. Create a Data Dictionary for each...

1 month ago | 0

| accepted

Answered
what is the name of block?
Could be anything, like a subsystem with one input and one output. Sets me to think, I might suggest adding a mind-reader funct...

2 months ago | 1

Answered
Using 4 signals on one simulink scope and splitting them between two graphs with 2 on each.
Configure your Scope block to have two inputs, and then use the Mux block to combine both current signals for the first input, a...

2 months ago | 1

| accepted

Answered
How do I scan the model for parameters read/write?
Another (and more user-friendly in my opinion) way to find certain blocks in your model, is by using the search function in the ...

2 months ago | 0

Answered
can i change simulink blocks execution order
Hi all In the MathWorks documentation I found another way, besides what is already proposed here, and that is to use a Stateflo...

3 months ago | 0

Answered
Embedded Coder for Motor Control Blockset?
The Embedded Coder toolbox is not available for Student licenses of MATLAB. https://www.mathworks.com/products/matlab/student.h...

3 months ago | 0

Answered
Rotationa to translation movement conversion - WITHOUT Simscape toolboxes
Doesn't it make sense to just connect the speed profile on the linear velocity source, and use a regular Simulink Gain block to ...

3 months ago | 0

| accepted

Answered
How to give time in hours in simulink?
Can you set the sampling time of your model to 3600, such that it calculates once every hour?

4 months ago | 0

Answered
strange and supicious behaviour of embedded coder for generated code optimization
Check your Embedded Coder Configuration Settings. You can for example try to check 'Inline invariant signals' and set the 'Defau...

4 months ago | 0

Answered
Simulink simulation won't start on Raspberry Pi3 in External Mode
Do you have certain firewall settings possibly blocking the connection with the RPi? I have had this before that it seemed to b...

4 months ago | 0

Answered
Simulink: is there a way to only run a block once a (non-zero) signal arrives to it?
Use an Enabled subsystem and use a 'Compare To Zero' block to feed the enable port. If you want the subsystem to only execute o...

5 months ago | 0

| accepted

Answered
simulink model zoom in R2020
I am not using R2020, but the shortcut for it is 'space'.

5 months ago | 0

| accepted

Answered
help, with code generation for TI C2000
Hi Carlos If the issue is just that some states and/or transitions you have programmed in Stateflow do not appear in the genera...

5 months ago | 0

| accepted

Question


Toolbox to check Enumeration cast from uint16
Hi all I am running a simulation wherein I am using a Simulink Enumerated type. So I have defined a limited amount of enumerate...

5 months ago | 0 answers | 0

0

answers

Answered
How to get a threshold in Simulink that works in both directions and that make an action once per passing
There are multiple ways to do it. I would do it like this. It might inspire you. The variable State should be initialised to 100...

5 months ago | 0

Question


Change Simulink.Parameter ExportedGlobal from inside Simulink model
Dear all I am developing a controller model which I have put inside a Model Reference. I store all my Simulink.Parameter and Si...

5 months ago | 1 answer | 0

1

answer

Answered
Variant Subsystems control by Model Workspace variables?
You can create a Simulink.Variant variable and put it inside a Data Dictionary, and then link this Data Dictionary to the model....

5 months ago | 0

Answered
Combine Simulink Signals with Different Data Types Without Using a Bus
A Bus serves the purpose of being able to combine signals with different data types. If you do not like the visual way of using ...

5 months ago | 0

| accepted

Answered
what's a block of code and function block in simulink?
Use a triggered subsystem. Alternatively, you can also use a function-call subsystem.

5 months ago | 0

Answered
Trouble understanding the Flip block in Simulink
When you are importing a data vector in your Simulink model, it reads the data vector one by one, sample by sample and executes ...

6 months ago | 0

Answered
Integrator State Port: Why is its use restricted?
"This doesn't work as naively expected because the integrator reset occurs before the Triggered Subsystem can copy the result. S...

6 months ago | 0

Load more