Community Profile

photo

Jonas


56 total contributions since 2019

Jonas's Badges

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

View details...

Contributions in
View by

Question


Get parameter value from named parameter in Simulink in Simulink Real-time
Hi all I am running a Simulink model using Simulink Real-time on a SpeedGoat target. I am using Simulink Parameters inside a Da...

7 days ago | 1 answer | 0

1

answer

Answered
Can't connect blocks in simulink
The block you are trying to connect produces a Signal as an output. You need to use a Controlled Voltage Source and provide the ...

2 months ago | 1

| accepted

Answered
Setting/Tuning parameters of a Simulink model in Realtime
I believe Diego's suggestion will help. I would also suggest to use Simulink Parameter variables inside the Model workspace and...

2 months ago | 0

Answered
Matlab and Nvidia cuda GPU
You can only run calculations on a GPU using the Parallel Computing Toolbox.

3 months ago | 1

| accepted

Answered
How do I change the initial condition at time t=0 of an IC block to an external value ?
Hi You should try the implementation below: The IC block with initial condition [0] will make sure your model runs with an i...

3 months ago | 0

Answered
Provide automatic delays to a signal
Use a Delay block Set it to receive the delay length from an Inport Feed your variable delay time through a triggered subsyste...

3 months ago | 0

| accepted

Answered
Where can I find Documentation on Battery Modeling for simulink
https://nl.mathworks.com/solutions/power-electronics-control/battery-models.html

3 months ago | 0

Answered
How to change background colour of display block with a change in input - Simulink
I suggest you take a look at the Simulink Dashboard elements. You can add a LED directly in your Simulink model which is linked ...

3 months ago | 0

Answered
Can I implement a controller that uses an external physical device to control the simscape physical model motion?
If you want to combine a physical external signal with a Simscape model, you will need to run the Simscape model in real-time an...

3 months ago | 0

Answered
Does the use of latency in statflow state work as expected?
Your state expression will not work indeed. You will need to create an additional state where ProtectStartBit = uint16(1); which...

3 months ago | 0

| accepted

Answered
C Caller does not reflect changes in C-Code on Simulink Model
Could you try to go into your Simulink Configuration Parameters => Model Referencing and set Rebuild to Always. It may be ignori...

3 months ago | 0

Answered
2019a Open model in new window
Are you opening a referenced model? They used to automatically open in a new window, while in 2019a now they are opened as if th...

3 months ago | 0

| accepted

Answered
Array element(2x16) and display
Hi Please see the reference documentation for the Display block. It states that "The Display block shows the first 200 element...

3 months ago | 0

Answered
split screen for simulink model subsystems
Right click a subsystem, and click 'Open in new Window'

3 months ago | 1

| accepted

Answered
Updated to R2019a and have less toolboxes and than my R2018b version. Why?
The command ver will show you your installed toolboxes, not the toolboxes for which you have a license. The command may list ins...

4 months ago | 0

Answered
Create a signal from vectors in simulink
I guess you are looking for the Mux block. It allows to combine separate signals into a vector signal.

4 months ago | 0

Answered
Problem in PWM Block in Simulink Support Package for Arduino Hardware
Have you tried providing it with more than 255 as duty ratio? Are you sure the input needs to be an 8 bit signal (between 0 and ...

4 months ago | 0

Answered
How do I design AC / DC / AC bi-directional inverter models?
The Simscape Electrical toolbox has a range of DC/DC, DC/AC and AC/DC/AC converters at your disposal. You can also go a deeper r...

4 months ago | 0

Answered
Hello Every one! can some one please help me in connecting diodes with DC sources in simulink?
You cannot combine blocks from the Simscape Electrical toolbox with the blocks under 'Specialized Power Systems'. One should res...

4 months ago | 0

Question


Need to run sl_refresh_customizations each time I open my Simulink project
Hi I have created a custom target for my Simulink Embedded Coder code generation. The target is stored in a Target file inside ...

4 months ago | 1 answer | 0

1

answer

Answered
Simulink sample time with external sample clock?
I would suggest to put the digital filter in a triggered subsystem and use the 360 Hz signal as trigger.

4 months ago | 0

| accepted

Question


Force CMSIS functions in Simulink
Dear I am generating code for a Cortex-M target, and have installed the Embedded Coder Cortex-M Hardware Support Package to ena...

4 months ago | 0 answers | 0

0

answers

Answered
stateflow variant states possible?
You may want to have a look at Simulink Functions inside Stateflow: https://nl.mathworks.com/help/stateflow/ug/simulink-function...

4 months ago | 0

Answered
Syntax Error with Fcn Block in Simulink
Are you sure the input of the function block has a signal dimension of 6?

4 months ago | 0

Answered
What is the fastest way to run same simulink model multiple times ?
What is exactly the issue you are having with this approach? The speed, or the way you save and load data? If you want to run i...

4 months ago | 0

| accepted

Answered
Red wiring and red boundary of block in Simulink
Simulink uses red edges and signals to highlight blocks and signals in a few cases (there may be more): When there is an algebr...

4 months ago | 1

Question


Can I deploy code on a Raspberry PI with MATLAB Home?
Hi all I have a MATLAB Home edition at home to play around with its hardware support packages for Raspberry Pi, Android and do ...

4 months ago | 1 answer | 0

1

answer

Answered
How can I generate triangular wave with random period ?
Use an Integrator block which you reset each time it becomes lower than zero, and use a random - but constant - input. Reset ano...

5 months ago | 0

| accepted

Answered
Why do I not see local variable name in the generated code when using 'Auto' storage class in Embedded coder?
You should change the storage class to 'Model default' or any other that fits your needs. Embedded Coder sometimes does not use ...

5 months ago | 2

Answered
Configuration Set error while settings are correct
The error apparently talks about the 'Test hardware' in the hidden menu underneath, it also has a Device Vendor and Device Type ...

5 months ago | 0

| accepted

Load more