Answered
Unavailable Simscape blocks in a 2019b model exported for 2018b
Are you sure you have installed all toolboxes on your MATLAB 2018b version? You need to install your necessary licenses for each...

6 years ago | 0

Answered
Simulink Real-Time Speedgoat. Start the model at powerup??
The principle is called 'standalone boot'. Instructions and details can be found here. Quick summary: Open Simulink Real-time ...

6 years ago | 1

Answered
Matlab/Simulink 2018a..Byte pack and unpack
Can you search the Simulink block library for 'byte unpack' and see if you have multiple of those blocks? It seems like you have...

6 years ago | 0

Answered
Embedded Coder generated .zip file problem
The feature to generate a .zip package is in fact using the command 'packngo'. You could investigate that command in more detail...

6 years ago | 0

| accepted

Answered
External mode on Simulink
I believe your system target file (the .tlc-file) may not be capable of External mode. You need to set it to something like slrt...

6 years ago | 0

| accepted

Answered
Simulink powertrain model approach
If you are not able to use Simscape but just Simulink, you can try to model your components by using look-up tables and stateflo...

6 years ago | 0

| accepted

Question


Sample time of Host Scopes in Simulink Real-time
Hi I am using Host Scopes to capture signal data of my model running on a Simulink Real-time target. My base model has a sample...

6 years ago | 1 answer | 0

1

answer

Answered
Resolving Algebraic Loops in SIMULINK models
You can use an ODE solver to solve the differential algebraic equations an algebraic loop generates. However, this is not possib...

6 years ago | 0

Answered
How do I change an indivdiual user license in a designated pc license
Contact MathWorks support, they can change it.

6 years ago | 0

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

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

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

6 years ago | 0

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

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

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

6 years 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

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

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

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

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

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

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

6 years ago | 0

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

6 years ago | 4

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

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

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

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

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

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

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

6 years ago | 0

| accepted

Load more