How can I make a model run really real time in simulink. A 10 sec simulation is taking almost 5 min.
1 view (last 30 days)
Show older comments
I am using a serial port to acquire data , process it using DSP blocks and using SVM classification to classify the data, the svm is based on mex interface. My simulation not exactly real time. I am missing a lot of packets from serial port and it taking 5min for a 10sec simulation. How do I configure the simulation parameters to make it actually real time.
0 Comments
Answers (1)
Walter Roberson
on 24 Sep 2013
What assurance do you have that the emulated processor would be able to handle that much computation in real time? You can tell Simulink that it needs to be able to prove Fermat's Last Theorem in 3.141 seconds, but that doesn't mean that any actual processor is going to be able to run the code that quickly.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!