Pregunta


How to know which block connected with outport block in a subsystem?
Hi all, I have outport block in a subsystem. In outside subsystem, there is block connect with this outport block. I want to...

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

1

respuesta

Pregunta


How to add relative path file in Simulink Test Manager?
Hi all, I use Simulink Test Manager for model testing. But when copy test project folder to other path or other PC, we need t...

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

0

respuestas

Pregunta


How to highlight segment signal line in Simulink?
Hi all, I use find_system function for find all signal in untitled model as: >> lines = find_system('untitled','FindAll','on...

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Why enum comparison is Incorrect??
Dear all, I am checking my model by MAAB. When I check jc_0651: Implementing a type conversion style, there is warning where ...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Get full path of referenced models
Hi all, I want to get full path of referenced models from simulink by matlab comment. Example: Model/AAA_Reference (AAA)/Subsy...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to check if string contains some special character?
Dear all, I have a question that the best way to check if string contains: alphanumeric characters and underscore only (ex: st...

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

1

respuesta

Pregunta


How can find all stateflow objects which used function?
Dear bros, Suppose that I have chart block which used floor function, so how can I find where is floor function by command line...

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

1

respuesta

Pregunta


What is the ID of styecheck jc_0803 ??
Dear bros ! I want to run stylecheck by script as following example. checkID = 'mathworks.jmaab.jc_0653'; SysResultObjArray =...

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

1

respuesta

Pregunta


Can not convert USHORT MAX to ufix16_Sp01
Dear bros, In Simulink model, I use constant block which has value (65535) and data type is ufix16_Sp01 (fixdt(0,16,0.01,0)). B...

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

1

respuesta

Pregunta


Separate string with tag_string
Dear bros, I want to separate long string which contains tags to each classify. Example: string = 'tag_A(this is tag A, it c...

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

1

respuesta

Pregunta


List of all subsystem(include Model reference) in each layer from model
Dear bros, I want to ask how to list List of all subsystem(include Model reference) in each layer from model. Expected result ...

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

1

respuesta

Pregunta


Why Embedded coder generates include to many header files? How to remove these includes?
Dear all, I use Embedded coder for generates C code from model. I configured to generated code only necessary files. But after...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Simulink Coder Error: Error occurred when generating rtwtypes.h
Dear all, I have 1 model which created by MATLAB 2015a. It ran and generated code succesful. Now I want to build by MATLAB 201...

casi 4 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to run ModelAdvisor by command line???
Dear all, I want to run ModelAdvisor and put result in current model advisor as following ma = Simulink.ModelAdvisor.getModelA...

alrededor de 4 años hace | 0 respuestas | 0

0

respuestas

Respondida
Can use uihtml in GUI component such as text or panel ??
I investigated, and we can use java as following hfig = handles.figure1; % existed figure in GUI je = javax.swing.JEditorPane(...

alrededor de 4 años hace | 0

| aceptada

Pregunta


Can use uihtml in GUI component such as text or panel ??
I want to add HTML code in GUI. But as I know, uihtml can use with figure only. Do you know other way?

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to get common sub string in cell array string?
Example: cell_arr = 3×1 cell array {'A.A1.A11.A111' } {'A.A1.A12.A121' ...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Problem with regexp Japanese
Dear all, I want to find the file paths in the large string by regexp such as: As you see, pattern search was good in https:...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Problem in find function???
Dear bros, I want to find the index of spesific element in a matrix, but I think there is problem A = [1 0 2 0; 0 3 0 4; 5 0 6...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to get property of blocks
Hi bros, I want to know how to get property of blocks such as inport (value, data type), outport (value, data type). Example: ...

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

1

respuesta

Pregunta


List of all Conditional Subsystem
Dear bros, This link discribes about Conditional Subsystem, but I can't find definition and list of it. Following are all of t...

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

1

respuesta

Pregunta


How to get signal line and block which connects with trigger port in model by code???
Dear all, As you know, we can find_system trigger_block by trigger_blocks = find_system(system, 'FindAll','on',... ...

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

1

respuesta

Respondida
How can I convert datetime into double?
You can use datenum to convert each your data to double. Example: >> t = datetime('now') t = datetime 2019/12/1...

más de 4 años hace | 1

Pregunta


Get editable parameters of blocks
Dear all, As we know, we can use get_param function for get value of parameter blocks which we know the parameter name. Exampl...

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

1

respuesta

Respondida
How can I use the command to realize the selection of coverage filter?
You can create new rule which exclude this block. example: modelName = 'Frame_Test_Sc'; open_system(modelName); set_param(mo...

más de 4 años hace | 0

| aceptada

Pregunta


Don't know why SLDV checks compatibility fail
Dear bros, My model update (Ctrl + D) and run (Ctrl +T) was OK. But when i used SLDV to check compatibilty, SLDV report failed ...

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

1

respuesta

Respondida
calling mex function from Simulink
After you build mexw64 file successful, you can use S-Function block if not, you need to build mex file by mex from S-function ...

más de 4 años hace | 0

Respondida
How to code this equation?
This formula mean Y = sum of all Y(i) value with i = 1:n I do not know what is Y(i) so can not write detai. Please refer symsu...

más de 4 años hace | 0

| aceptada

Respondida
Hello why I get this error when I am going to set the path ?
You can fix as this link https://www.mathworks.com/matlabcentral/answers/437214-problems-with-set-path#answer_353904

más de 4 años hace | 1

Respondida
strcmpi not returning 1
You need compare string from 2 variables leftend and rightend, but you are comparing 2 string 'leftend' , 'rightend'. Let remov...

más de 4 años hace | 0

| aceptada

Cargar más