It is possible estimate the computational cost of Simulink blocks before embed on the hardware?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
In the development by functional blocks in Simulink, is it possible to estimate the computational cost of hardware (ram, processing, etc) before embed the code on the hardware (for any hardware, arduino, raspberry pi, and others)? Estimate the cost that each block will use and estimate the cost of the entire system.
Thanks!
0 Commenti
Risposte (1)
Shaunak
il 23 Apr 2025
Hi Victor,
In Simulink, diagnostics can be performed on the full model to assess computational aspects before deploying to hardware like Arduino, Raspberry Pi, or other embedded platforms. While there is not a direct per-block computational cost estimate, several built-in tools are available for analyzing the overall model.
The ‘sldiagnostics’ command can be used to obtain computation statistics for the entire model. Additionally, the “Simulink Profiler” helps you identify bottlenecks and measure simulation performance, while the “Performance Advisor” provides recommendations for improving model efficiency.
Kindly refer to the following documentation for more information on profiling and performance analysis in Simulink:
Kindly refer to the following MATLAB Answers thread for further reference:
Hope this helps!
0 Commenti
Vedere anche
Categorie
Scopri di più su Raspberry Pi Hardware in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!