Simulink versus Matlab implementation?
17 views (last 30 days)
Show older comments
I tried implementing several algorithms with both simulink and pure matlab code. On all occasions, the simulink version was faster. I would like to know why this is so and how I can exploit this further for fast and robust implementations.
Thanks.
0 Comments
Answers (1)
Andreas Goser
on 23 Jan 2013
This is too generic to give a good statement. Some considerations:
MATLAB vs. Simulink implementation is typically a question of the type of application and the deliverable. I have not worked with many people that compared performance.
When performance is important for you, then probably other considerations are more valuable. In any case, "faster" can mean 112 s instead of 115 s (noise) or 112 s instead of 2241124 s (drama).
Bottom line: Please describe as much as you can of your planned application and what you are comparinf and how
2 Comments
Andreas Goser
on 25 Jan 2013
OK, so the goal is to speed up. If you have a workign MATLAB application, I would more looking in parallel and distributed computing as towards Simulink. In both cases, MathWorks engineers will assist you if you engange with them. You may start calling Technical Support.
See Also
Categories
Find more on Simulink Functions 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!