How to set simulation to calculate every one second time
Show older comments
I have model which calculates addition of two numbers a=1:1:100;,,,,,,,,b=1:1:100;,,,,,,,c=a+b;....this I have in simulink model ,,, I want to set my simulation time to 1 second,,I mean for 1 second it should perform c(1)=a(1)+b(1),,,,at 2 second time it should perform c(2)=a(2)+b(2),, at 3 second time it should perform c(3)=a(3)+b(3),,,,,,,,this should continue up to 100 seconds of time after that my simulink model should stop simulation and each second my c() value should be available to see it
1 Comment
Arun Badigannavar
on 5 Dec 2012
Accepted Answer
More Answers (1)
Vishal Rane
on 5 Dec 2012
0 votes
I guess this query is already answered here by Walter Roberson :
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!