A répondu
FROM SPREADSHEET -BLOCK SIMULINK
Please read about From Spreadsheet blocks here: https://www.mathworks.com/help/simulink/slref/fromspreadsheet.html The CSV file...

environ 3 ans il y a | 0

Question


How can I apply labels to project files when the project references another project?
I have a main project that I want to use as part of several sub-projects. The idea is that the main project sets up global commo...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to reorder project shortcuts?
I am trying to create several project shortcuts and would like to order them in a specific way. In the image below, I have 3 sho...

environ 3 ans il y a | 2 réponses | 0

2

réponses

A répondu
Receive Inputs into Simulink
Have you taken a look at FromWorkspace and ToWorkspace blocks? If you have the user create all the data in the Matlab workspace ...

environ 3 ans il y a | 0

Question


Difference between Simulink diagnostics and Simulink Design Verifier error checking?
Simulink Design Verifier can perform error checking to determine whether a model contains dead logic, division by zero, overflow...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to continue testing with SDV to extend results?
I am testing a large industrial Simulink model with SDV in order to get the values of structural coverage metics. I originally s...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

A répondu
How to read data from a CSV into a column vector
>> m = readmatrix('test.csv') m = 1 2 3 4 5 6 7 8 >> m = m(:) m = 1 ...

plus de 3 ans il y a | 2

A répondu
what is the meaning of this operation?
Firstly, d is an invalid matrix because it must have consistent dimensions. The second row has 5 elements whereas the rest have ...

plus de 3 ans il y a | 1

A répondu
How to cut out/delete rows in a cell
It removes up to the 127th element because that's what the code says to do where it has (126:end). If you want to remove the f...

plus de 3 ans il y a | 0

A répondu
Debugging a piece of code
How are you running the shellsort function? From the error message you provided, it looks like you are not giving shellsort any ...

plus de 3 ans il y a | 0

A répondu
Find repeating rows in a matrix and replace with zeros
This can probably be optimized, but it works to replace rows that don't occur more times than the set threshold, in this case 3 ...

plus de 3 ans il y a | 0

| A accepté

Question


Preallocating a cell array of chars?
Is there a better way of preallocating a cell array of empty chars than using a for loop or deal? Cells can contain any data typ...

plus de 3 ans il y a | 1 réponse | 1

1

réponse

A répondu
Why is does one of the blocks in my library appear teal in the library browser but white when opened?
Did you try right-clicking in the model and clearing the highlighting, or right-clicking on the block and changing the backgroun...

plus de 3 ans il y a | 0

Question


How to use non-unique node names in a digraph?
I am trying to plot a Simulink model as a graph. I am using the digraph function, but I am running into issues because Simulink ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

A répondu
How to change filter settings for slxmlcomp.compare?
I contacted MathWorks support. It is currently not possible to change filters from the command line using the slxmlcomp.compare ...

plus de 3 ans il y a | 1

| A accepté

Question


How to change filter settings for slxmlcomp.compare?
I am using the slxmlcomp.compare function to compare two Simulink models programmatically. However, when there is a change to th...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


Changing function packaging of Simulink Functions to inlined
Why is the Function Packaging option disabled for Simulink Functions? I'd like to edit this parameter to modify how the function...

presque 4 ans il y a | 2 réponses | 1

2

réponses

A soumis


Simulink Profiler data to Excel
Convert Simulink Profiler data into an Excel spreadsheet.

presque 4 ans il y a | 1 téléchargement |

Thumbnail

A soumis


Model Execution Time
Simulates a Simulink model a number of times and records/plots the execution time.

presque 4 ans il y a | 12 téléchargements |

Thumbnail

A répondu
Adding multiple folders to path
addpath(genpath('balanceAssessment'))

presque 4 ans il y a | 0

| A accepté

A répondu
How to split this?
C = reshape(M, 16,[])' C = 5×16 char array '0110000101100010' '0110001110000000' '0000000000000000' ...

presque 4 ans il y a | 1

| A accepté

Question


Checking existence of Simulink model with full pathname
Why is it that I can use the exist command to check if a model exists, but when I provide the fullpath name, it is only consider...

presque 4 ans il y a | 1 réponse | 0

1

réponse

A répondu
How to change the foreground color of a block only, and not its output lines?
There are no alternative coloring methods at this time.

presque 4 ans il y a | 0

| A accepté

Question


How to refresh System Target File (.tlc) SelectCallback?
I have a custom target file that is based on ert.tlc. I am editing the target-specific code generation options for a model's Con...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


When is the 'ModelReferenceVersionMismatchMessage' Simulink model parameter editable?
When I open a model's test harness, I receive the following error: I would like to disable the "ModelReferenceVersionMismatch...

environ 4 ans il y a | 1 réponse | 0

1

réponse

A répondu
When I save an image as .pdf, but matlab will produce an A4 size pdf, but i only need as the size of picture to insert in latex document
This question has already been answered. Please try one of the solutions in the link below: https://www.mathworks.com/matlabcen...

environ 4 ans il y a | 0

| A accepté

A répondu
what does the following syntax do?
I think there is a line missing at the beginning: Root_InPorts = find_system(Search_Path,'SearchDepth',1,'BlockType','Inport');...

environ 4 ans il y a | 0

| A accepté

A répondu
what is block arguments about handle meaing?
Each block, line, annotation, etc. in a Simulink model has a unique numeric identifier. It's called a "handle". You can use the ...

environ 4 ans il y a | 0

A répondu
How can I set 'file name' and 'sheet name' as variables in 'from spreadsheet' block in simulink
Is it not possible to do this from the GUI, but you can do it from the command line: blk_pathname = 'testModel/From Spreadsheet...

environ 4 ans il y a | 0

| A accepté

A répondu
how do I display all the text on one line?
Did you try removing the newlines (or other formatting characters)? https://www.mathworks.com/matlabcentral/answers/429327-how-...

environ 4 ans il y a | 2

Charger plus