how can i make an infinitely simulating model in simulink?
Mostra commenti meno recenti
Normally in simulink we specify the time for simulation. But I want to implement an image processing system which continuously take images from a camera as input. The system should work like code inside a while loop.Is it possible to create such a system in simulink? How can I implement such a system?
Risposta accettata
Più risposte (1)
Abhishek M
il 28 Mag 2014
1 voto
Hi Rani,
You can simulate your Simulink model by using "simout" command through the code.
2 Commenti
Rani V.S
il 28 Mag 2014
Abhishek M
il 28 Mag 2014
The simout which you are talking is a sink block in the Simulink library called as "to workspace block". but I am referring about the "command simout" used in coding. calling the model via the "sim" command executes/simulates your model. now you can call your model by placing it inside the infinite while loop through a code. and finally you can get your required outputs to workspace through the "simout"command.
Categorie
Scopri di più su Prepare Model Inputs and Outputs in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!