Feeds
提问
Programmatically get hierarchy depth of a model (subsystems and referenced models)
I can get the hierarchy depth of a model using <https://www.mathworks.com/help/slvnv/ref/model-metric-checks.html#buuybtl-1 subs...
7 years 前 | 0 个回答 | 0
0
个回答提问
Create test harness automatically for SIL testing of a model (Embedded Coder)
I've a Simulink model for which I'd like to test code generation errors for |Embedded Coder| target. I want to follow the SIL te...
8 years 前 | 1 个回答 | 0
1
个回答提问
Simulink get name/label of a port programmatically
In my model I've a |Delay| block (see image below) connected with other blocks (not shown in the image). I have handles of each ...
8 years 前 | 4 个回答 | 0
4
个回答提问
Simulink - control flow using custom C code
I am trying to generate a Simulink model which when generated code, exhibits a functionality like this: if (rollDice()==7) ...
8 years 前 | 0 个回答 | 0
0
个回答提问
Can I run Simulink generated code in Desktop environment to reproduce code generation bugs
I am interested in reproducing a Simulink "Code Generation" bug reported in their <http://www.mathworks.com/support/bugreports/1...
8 years 前 | 0 个回答 | 0
0
个回答提问
Get data type of Simulink blocks programmatically
I'm interested in getting *data type* of all input and output ports of some built-in block. I can view this information when I t...
9 years 前 | 1 个回答 | 1
1
个回答提问
check whether a Simulink handle is a block or model programmatically
I have a handle to a block/model which I have retrieved programmatically. Is there a way (e.g. calling |get_param|) to programma...
9 years 前 | 1 个回答 | 0
1
个回答提问
Get invalid Simulink block parameter setting programmatically
I've created a Simulink model programmatically and when I try simulating it, I get |Simulink:Parameters:InvParamSetting| excepti...
9 years 前 | 0 个回答 | 0
0
个回答提问
Programmatically find valid values that a block parameter accepts
I can get value of a block parameter is already given using |get_param| function. However, I'm interested in finding *possible v...
9 years 前 | 0 个回答 | 0