Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to solve this issue

1 Ansicht (letzte 30 Tage)
Arun Badigannavar
Arun Badigannavar am 18 Jan. 2013
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 Kommentare
Arun Badigannavar
Arun Badigannavar am 18 Jan. 2013
no worries,,i have sent u mail of a scrrenshot,,,not sent any model,,,
Daniel Shub
Daniel Shub am 18 Jan. 2013
Please do not contact people directly, unless they request it. Your question is clearly lacking some details. Please edit the question and reopen.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by