Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Please help with this problem of simulink?

조회 수: 1 (최근 30일)
Arun Badigannavar
Arun Badigannavar 2013년 1월 18일
https://picasaweb.google.com/100600576001599595108/MATLABSimulink#5834654212202423442 ,,,,,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

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by