Respondida
Hyperlink in Excel cell to open Simulink model?
You can launch Matlab from Windows system prompt, see the documentation. Maybe you can find a way to execute a command line code...

más de 6 años hace | 0

Respondida
Making the dashboard scope scroll
Go to the configuration properties of the scope block, and set the 'Time span overrun action' to 'Scroll' instead of 'Wipe'.

más de 6 años hace | 0

Respondida
How to select port in Multi Switch ?
Since you are using look-up tables with the monthly data anyway, I assume that the data for for example August will be zero in t...

más de 6 años hace | 0

Pregunta


Array as a #define instead of scalar
Hi all I want to use a small array as a Storage Class 'define': However, when I use this in my model and try to generate cod...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Respondida
Data variants in Simulink Data Dictionary
I would suggest to put the Simulink.Parameter variables inside a separate Data Dictionary. Then, create two seperate files of th...

más de 6 años hace | 1

Respondida
How can I exctract 2 values from a 1-by-3 array in Simulink ?
Use a Demux block with three outputs to extract the three signals, and then another Mux block with two inputs to combine the two...

más de 6 años hace | 0

Respondida
Output Size of Simulink Block set to constant input variable..Is this possible?
Does this help?

más de 6 años hace | 0

Respondida
Column-by-Column (SIMULINK)
You need the Selector block to capture the column you need, and then a Trigger Subsystem which executes on your command. You can...

más de 6 años hace | 1

| aceptada

Respondida
Geoplot map low resolution
There are higher resolution maps available with version R2019b, without needing the Mapping Toolbox. You can change the base map...

más de 6 años hace | 0

Respondida
Power–frequency swing equation
You have the implementation wrong. It should be like this:

más de 6 años hace | 0

Respondida
How to limit operating element size of array in Simulink
The difficulty with referenced models is that they should be reusable inside other models with the exact same input and output i...

más de 6 años hace | 0

| aceptada

Respondida
Which block are those? form simulink.
Purely based on your screenshot, not on the dynamics you want to achieve: Pink is 'Sign' Blue is 'Dead zone' in series with 'S...

más de 6 años hace | 0

Respondida
Why there is a problem coming in the connection although I am using a Voltage sensor compatible block for this?
Also, you are mixing Simscape Electrical and Simscape Specialized Power Systems. They don't mix.

más de 6 años hace | 0

Respondida
Converting Simulink Signal to Electrical Signal
https://nl.mathworks.com/help/physmod/simscape/ref/pssimulinkconverter.html https://nl.mathworks.com/help/physmod/simscape/ref/...

más de 6 años hace | 0

| aceptada

Respondida
Changing Simulink Real-Time Workspace Variable
You should use the command setparam. Typical command is: setparam(tg,'speed_setpoint',100) for changing parameter 'speed_setpoin...

más de 6 años hace | 0

Respondida
Is there any way to change default data type of simulink models, including embedded matlab functions in simulink?
You can choose between double or single in the 'Default for unspecified data' menu as you mentioned. If you see no or little ef...

más de 6 años hace | 0

Respondida
Ignore certain blocks for production code generation
Found the solution. I have made a variant subsystem, wherein the production code variant I have used 'Ground' blocks as sources...

más de 6 años hace | 0

| aceptada

Pregunta


Ignore certain blocks for production code generation
Hi all I have a controller model that I develop and reference in three different harnesses: simulation rapid prototyping pro...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Respondida
Embedded Coder 2019b settings: Randomized file ending in typedef
You can set auto-generated identifier naming rules in your 'Configuration Parameters' window, under 'Code Generation' then 'Symb...

más de 6 años hace | 0

| aceptada

Pregunta


Maximum identifier length '31' does not provide sufficient space to make symbol names unique
I am getting the following warning when generating code from my model: Insufficient space for computing symbol names in model '...

más de 6 años hace | 2 respuestas | 1

2

respuestas

Pregunta


System-generated identifiers does not use 'Shortened' names
I have set the 'System-generated identifiers' option to 'shortened'. However, for my global parameters the Embedded Coder sti...

más de 6 años hace | 0 respuestas | 0

0

respuestas

Respondida
Negative thermal resistance in SimScape
When you check the source code of the Thermal Resistance block, it is indeed hard-coded that the thermal resistance is larger or...

más de 6 años hace | 0

| aceptada

Respondida
Can someone provide me a model for this?
I know it might sound a little crazy, but you could try to contact the authors of the paper if you want their model.

más de 6 años hace | 0

Respondida
Retaining previously held values in simulink
It is not completely clear to me what your set-up looks like, but you may want to investigate 'Enabled Subsystems'. You can set ...

más de 6 años hace | 0

Respondida
Simulink Library Browser Shortcut
In Simulink: CTRL+SHIFT+L. You cannot open the Simulink Library directly from within MATLAB.

más de 6 años hace | 0

Pregunta


Change parameters depending on Configuration Parameters
Hi all I have a controller model that I am referencing to in three different harnesses: Simulation (laptop simulations) Real-...

más de 6 años hace | 0 respuestas | 0

0

respuestas

Respondida
Is the a way to convert a non-virtual bus structure into a multi dimensional single element bit field/array?
I suggest you investigating For Each subsystems.

más de 6 años hace | 0

| aceptada

Respondida
How to input six signals to a case statement without getting an error.
I don't know exactly what you want to achieve, but I am feeling that the 'cases' block is not the best choice. You might want to...

más de 6 años hace | 1

Respondida
How can I solve this simple Simulink discrete time solver problem?
The simulation is behaving exactly as how you want it. The plotter is just putting linear lines in between discrete data points....

más de 6 años hace | 1

| aceptada

Cargar más