質問


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

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

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

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

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

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

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

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

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

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

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

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

3年弱 前 | 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: ...

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

3年弱 前 | 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',... ...

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

3年弱 前 | 0

質問


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

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

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

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

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

3年弱 前 | 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

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

3年弱 前 | 0

| 採用済み

解決済み


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3年弱 前

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

約3年 前 | 0

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

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

約3年 前 | 1 件の回答 | 0

1

回答

送信済み


Limit_Input_Change
Make output slowly close input when input change very big.

約3年 前 | ダウンロード 1 件 |

Thumbnail

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

約3年 前 | 0

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

約3年 前 | 0

| 採用済み

さらに読み込む