Answered
How to get properties of Area Annotation in Matlab R2015a from Command Prompt?
a = find_system(gcs, 'FindAll', 'on', 'Type', 'Annotation', 'AnnotationType', 'area_annotation') Valid properties of annotation...

alrededor de 1 año ago | 0

Answered
Turn a simulink model into a digraph
You may be interested in some functions provided by the Auto Layout Tool available on the File Exchange. Those provided in src/G...

alrededor de 1 año ago | 2

Submitted


KWIC
A Matlab implementation of the Key Word in Context (KWIC) system.

alrededor de 1 año ago | 1 download |

Question


How to change the foreground color of a block only, and not its output lines?
I am trying to color a very specific set of blocks in a model. When I change their ForegroundColor parameter (both via Context M...

más de 1 año ago | 1 answer | 0

1

answer

Answered
How to find Matlab Function blocks in a model?
isMLfunction = strcmp(get_param(gcb, 'SFBlockType'), 'MATLAB Function'); See https://www.mathworks.com/matlabcentral/answers/...

más de 1 año ago | 0

| accepted

Answered
How to install additional toolboxes in matlab r2012a?
Please see this answer from MathWorks: https://www.mathworks.com/matlabcentral/answers/101885-how-do-i-install-additional-toolbo...

más de 1 año ago | 0

| accepted

Answered
How to get information on a Simulink.Signal data store?
A function will have its own workspace, so you will have to get the Simulink.Signal object from the base workspace first: % Get...

casi 2 años ago | 1

| accepted

Question


How to change the color of labels in a Simulink project?
I have created a new "Utility" classification label in my Simulink project, so I can distinguish between the design files and ut...

casi 2 años ago | 0 answers | 0

0

answers

Question


How to use Simulink's "Arrange" options programmatically?
Simulink has many useful functions in the context menu for arranging blocks in a model, as shown in the image below. Is it possi...

casi 2 años ago | 1 answer | 0

1

answer

Answered
How do I delete the zeros from the matrix?
Instead of "-" the following function uses NaN. function B = removeMatZeros(A) B = []; for i = 1: size(A, 1) ...

más de 2 años ago | 0

| accepted

Answered
Why can't I find the model I need in the simulink?How can I get the demo?
R2016b was the last version of the Simscape Power Systems toolbox that includes the model you are looking for ( |power_dcdrive_d...

más de 2 años ago | 0

| accepted

Answered
Edit model context menu
function myOption(callbackInfo) selection = find_system(gcs, 'Type', 'block', 'Selected', 'on'); if isempty(selecti...

más de 2 años ago | 0

Answered
Reset autoroute on existing line
Unfortunately such a parameter does not exist. The only way I know to change the autorouting type would be to delete and then re...

más de 2 años ago | 0

Submitted


gcls - Get current lines
The gcbs equivalent for lines.

más de 2 años ago | 3 downloads |

Submitted


gcas - Get current annotations
The gcbs equivalent for annotations.

más de 2 años ago | 1 download |

Question


How to set the Model History information programmatically?
The Model Properties > History tab allows you to uncheck "Read Only" and then make modifications to the "Created by" and "Last s...

más de 2 años ago | 1 answer | 1

1

answer

Answered
How to set the Model History information programmatically?
I ended up contacting Matlab Support for this. Some of these parameters are formatted based on another parameter. While the ...

más de 2 años ago | 2

| accepted

Question


Is there a list of all color long names?
Information on Matlab's color specification describes 8 basic colors and states that, "... long names are character vectors that...

más de 2 años ago | 4 answers | 1

4

answers

Answered
Obtain Simulink Object Handle (or path) from slxmlcomp results?
There is no built-in way of getting the handle/path. As you mentioned, it is possible to reconstruct the path information given ...

más de 2 años ago | 0

| accepted

Answered
Use set_param () to change the value of one parameter of multiple blocks without using a for-loop
The only alternative that I am aware of is using arrayfun like so: arrayfun(@(x) set_param(v, 'Value', '0'), v) However,...

casi 3 años ago | 0

Answered
How can I set properties (e.g. backgroundcolor) of a Simulink Area programmatically?
The available properties for Simulink Areas are described here: <https://www.mathworks.com/help/simulink/slref/simulink.annotati...

casi 3 años ago | 0

| accepted

Question


Simulink Report Generator XML Comparison Filtering
Simulink Report Generator's XML Comparison for comparing models provides 3 filters: "Hide Changes in Lines," "Hide Nonfunctional...

más de 3 años ago | 1 answer | 0

1

answer

Answered
Clean up Simulink block diagram
Doesn't look like anything is built-in for Simulink. In 2017a there is "Stateflow Layout" which automatically improves the layou...

más de 3 años ago | 0

Question


Can Simulink Report Generator XML Comparison be integrated with IBM Synergy?
I would like to use the model comparison to automatically compare what is in the repository to a local copy of the model. The do...

más de 3 años ago | 1 answer | 0

1

answer

Answered
Why is model slice generation not supported with an inport as starting point?
I will answer my own question (somewhat). The reason for this is not known, however, SDV 2016a now allows inports to be used as ...

más de 4 años ago | 1

| accepted

Question


How can you rename a submitted tool on File Exchange?
As a tool's functionality has evolved, the name is no longer accurate. However, there does not appear to be a way to rename a to...

más de 4 años ago | 1 answer | 0

1

answer

Question


Why is model slice generation not supported with an inport as starting point?
Matlab 2015a introduced the Model Slice tool as part of SDV. Why is it that using an inport block as a starting point is not sup...

alrededor de 5 años ago | 1 answer | 0

1

answer

Question


Where are Expected Outputs of Test Generation in Simulink Design Verifier?
When performing test generation using SDV, in the options you can checkmark the option to "Include expected output values" of th...

alrededor de 6 años ago | 1 answer | 0

1

answer

Question


Checking disjointness of Stateflow truth tables?
Is there a diagnostic tool for Stateflow truth tables which does disjointness checking on the decision rules? I am aware of the ...

alrededor de 6 años ago | 0 answers | 0

0

answers