已回答
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...

5 years 前 | 0

已回答
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'.

5 years 前 | 0

已回答
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...

5 years 前 | 0

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

已回答
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...

5 years 前 | 1

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 1

| 已接受

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

5 years 前 | 0

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

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

已回答
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.

5 years 前 | 0

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

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

已回答
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...

5 years 前 | 0

| 已接受

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

已回答
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...

5 years 前 | 0

| 已接受

提问


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

5 years 前 | 2 个回答 | 1

2

个回答

提问


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

5 years 前 | 0 个回答 | 0

0

个回答

已回答
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...

5 years 前 | 0

| 已接受

已回答
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.

5 years 前 | 0

已回答
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 ...

5 years 前 | 0

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

5 years 前 | 0

提问


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

5 years 前 | 0 个回答 | 0

0

个回答

已回答
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.

5 years 前 | 0

| 已接受

已回答
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...

5 years 前 | 1

已回答
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....

5 years 前 | 1

| 已接受

加载更多