質問


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

3年以上 前 | 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 =...

3年以上 前 | 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...

3年以上 前 | 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...

3年以上 前 | 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年 前 | 0 件の回答 | 0

0

回答

質問


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年 前 | 0 件の回答 | 0

0

回答

回答済み
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...

約4年 前 | 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: ...

4年以上 前 | 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...

4年以上 前 | 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',... ...

4年以上 前 | 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...

4年以上 前 | 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...

4年以上 前 | 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...

4年以上 前 | 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 ...

4年以上 前 | 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 ...

4年以上 前 | 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...

4年以上 前 | 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

4年以上 前 | 1

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

4年以上 前 | 0

| 採用済み

回答済み
How to use linspec
n = 9 when user want to generate integer cases of x in [-4, 4] if n = 1, so x alway = 4, it is no meaning

4年以上 前 | 0

回答済み
how can I read different data types from excel file
You also use readtable function data = readtable(FILE,'Sheet', 'sheet_name', 'ReadVariableNames', false);

4年以上 前 | 0

質問


Search subarray closest other array
Dear all I want to search subarray closest other array as following. A = [4, 5.5, 7, 8.1, 1, 5, 6, 7, 8, 9]; B = [5.5, 6.2, 7...

4年以上 前 | 1 件の回答 | 0

1

回答

回答済み
How to define a function with multiple names
As I know, you can't do it. You should create only 1 function and switch converting such as same following function out_val = ...

4年以上 前 | 0

回答済み
Problem of comparison in Simulink Test Manager
I found problem. Time in baseline was not really right. Example: 3.0600000001 I fixed

4年以上 前 | 0

| 採用済み

質問


Problem of comparison in Simulink Test Manager
Dear all, I created test cases for simulink test manager, but when I compare, result at one time was not same which as followin...

4年以上 前 | 1 件の回答 | 0

1

回答

さらに読み込む