Gaganjyoti Baishya
Followers: 0 Following: 0
統計
MATLAB Answers
0 質問
15 回答
ランク
of 154,057
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
How to access every alternate field of sldvData structure?
From what I understood from your description is you want to loop over the fields of sldvData struct. And for every iteration you...
How to access every alternate field of sldvData structure?
From what I understood from your description is you want to loop over the fields of sldvData struct. And for every iteration you...
4年以上 前 | 0
| 採用済み
回答済み
How to get all the selected objects in a stateflow diagram?
Hi, please try this code snippet. It worked for my use-case. rt = sfroot; m = rt.find('-isa', 'Stateflow.Machine', '-and','Nam...
How to get all the selected objects in a stateflow diagram?
Hi, please try this code snippet. It worked for my use-case. rt = sfroot; m = rt.find('-isa', 'Stateflow.Machine', '-and','Nam...
4年以上 前 | 1
回答済み
Not able to get count of each elements in array itself
Hi Scott, Instead of using the histc function, you can use the grouptransform function to get the count of all elements int the...
Not able to get count of each elements in array itself
Hi Scott, Instead of using the histc function, you can use the grouptransform function to get the count of all elements int the...
4年以上 前 | 0
| 採用済み
回答済み
create a variable and specify its column
Hi You can get the month from the day string by iterating it till you get the month. for i=1:size if day(i)=='/' if day...
create a variable and specify its column
Hi You can get the month from the day string by iterating it till you get the month. for i=1:size if day(i)=='/' if day...
4年以上 前 | 0
回答済み
How to get sldvData of a model from command line
sldvrun might be the thing you are looking for: opts = sldvoptions; opts.Mode = 'TestGeneration'; opts.ModelCoverageObjec...
How to get sldvData of a model from command line
sldvrun might be the thing you are looking for: opts = sldvoptions; opts.Mode = 'TestGeneration'; opts.ModelCoverageObjec...
4年以上 前 | 1
| 採用済み
回答済み
How do I get the handle of the current system in Simulink model?
You cannot use 'get' command to get handle of the system. Use get_param instead. get_param(gcs, 'Handle')
How do I get the handle of the current system in Simulink model?
You cannot use 'get' command to get handle of the system. Use get_param instead. get_param(gcs, 'Handle')
4年以上 前 | 1
| 採用済み
回答済み
Finding matched rows of matrix with other matrix?
arr=[]; for i=1:size(B,1) c=0; for j=1:2 if B(i,j)==A(1,j) c=c+1; end end if...
Finding matched rows of matrix with other matrix?
arr=[]; for i=1:size(B,1) c=0; for j=1:2 if B(i,j)==A(1,j) c=c+1; end end if...
4年以上 前 | 0
| 採用済み
回答済み
Error in Reading BMP image
Hi please refer to this link. https://www.mathworks.com/support/bugreports/1432749
Error in Reading BMP image
Hi please refer to this link. https://www.mathworks.com/support/bugreports/1432749
4年以上 前 | 0
回答済み
Can I comment a block of lines in an MATLAB file using /* ... */ as I can in C?
Yeah it can be easily done. Instead of /* use %{ and instead of */ use %}
Can I comment a block of lines in an MATLAB file using /* ... */ as I can in C?
Yeah it can be easily done. Instead of /* use %{ and instead of */ use %}
4年以上 前 | 0
回答済み
How to iterate through the ports of a block/model
You can get the number of ports in a model by get_param(gcb, 'PortHandles')
How to iterate through the ports of a block/model
You can get the number of ports in a model by get_param(gcb, 'PortHandles')
4年以上 前 | 0
回答済み
get the Model name which is already opened
Hi you can get the opened model by get_param(bdroot, 'Name')
get the Model name which is already opened
Hi you can get the opened model by get_param(bdroot, 'Name')
4年以上 前 | 2
回答済み
Get selected objects (simulink)
To get an array of all selcted blocks use find_system(bdroot, 'Selected', 'on');
Get selected objects (simulink)
To get an array of all selcted blocks use find_system(bdroot, 'Selected', 'on');
4年以上 前 | 0
回答済み
Can class/object parameters store structs? If not, is there an equivalent?
Yes definitely you can. I was also wanting the same to be done. So you just need to declare that struct variable inside the prop...
Can class/object parameters store structs? If not, is there an equivalent?
Yes definitely you can. I was also wanting the same to be done. So you just need to declare that struct variable inside the prop...
4年以上 前 | 0
回答済み
count rows in matrix ?
It's simple. You can see the size of the first column, that will be the rows in matrix. rows = size(myMatrix, 1); % first row l...
count rows in matrix ?
It's simple. You can see the size of the first column, that will be the rows in matrix. rows = size(myMatrix, 1); % first row l...
4年以上 前 | 0
回答済み
How do I declare a variable in the MATLAB workspace from a MATLAB function?
Hi, You can easily add variables in base from function using assignin. function myFunc(a,b) x=3; assignin('base','myVar',x);...
How do I declare a variable in the MATLAB workspace from a MATLAB function?
Hi, You can easily add variables in base from function using assignin. function myFunc(a,b) x=3; assignin('base','myVar',x);...
4年以上 前 | 0