질문


How to add inport blocks of subsystem if know only subsystem input 's dimensions?
Hi bros As you know, we can get dimension of block as following >> evalin('base', [ 'untitled' '([],[],[],''compile'')']) >...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

3년 초과 전 | 답변 수: 0 | 3

0

답변

질문


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

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


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

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


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

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


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

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

4년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
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(...

4년 초과 전 | 0

| 수락됨

질문


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?

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


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

거의 5년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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...

거의 5년 전 | 1

질문


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

거의 5년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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...

거의 5년 전 | 0

| 수락됨

질문


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

거의 5년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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 ...

거의 5년 전 | 0

답변 있음
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...

거의 5년 전 | 0

| 수락됨

답변 있음
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

거의 5년 전 | 1

더 보기