How to solve this issue
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
I have attached a simulink model and controlling code,,,
please tell me how to keep the old values of 'b',,,
open_system('C:\Documents and Settings\admin\Desktop\test_Final.slx')
b=1;
for i=1:1:100;
set_param('test_Final','StopTime', sprintf('%d',i));
simout= sim('C:\Documents and Settings\admin\Desktop\test_Final.slx');
pause(1)
if i==6;
b=10;
end
end
8 个评论
Walter Roberson
2013-1-18
"sorry that page is not found"
Walter Roberson
2013-1-18
what "old value of b" ?
Arun Badigannavar
2013-1-18
Arun Badigannavar
2013-1-18
Arun Badigannavar
2013-1-18
Walter Roberson
2013-1-18
"sorry that page is not found" still.
Please do not email me simulink models, as I do not have Simulink.
Arun Badigannavar
2013-1-18
Daniel Shub
2013-1-18
Please do not contact people directly, unless they request it. Your question is clearly lacking some details. Please edit the question and reopen.
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!