MATLAB Answers

0

How to solve this issue

Asked by Arun Badigannavar on 18 Jan 2013
This question is closed and may reopen in the future if edited.

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

  8 Comments

"sorry that page is not found" still.

Please do not email me simulink models, as I do not have Simulink.

no worries,,i have sent u mail of a scrrenshot,,,not sent any model,,,

Please do not contact people directly, unless they request it. Your question is clearly lacking some details. Please edit the question and reopen.

Tags

Products

No products are associated with this question.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!