How to remove the build summary while using slbuild?

6 vues (au cours des 30 derniers jours)
Ayush
Ayush le 5 Juil 2023
Réponse apportée : Abhas le 5 Juil 2023
When using the slbuild function for the generation of Embedded code of a model, it generates a whole build summary in the command window. Is there any way I can remove this build summary?

Réponses (1)

Abhas
Abhas le 5 Juil 2023
Hi Ayush,
One hacky way to do this is to use the evalc function outside the slbuild function. You can use it in the following manner:- evalc(slbuild(model)). This evalc function captures the command window output and returns it as a variable. Using this there will be no output in the command window.
You can refer the documentation for a better understanding:- https://in.mathworks.com/help/matlab/ref/evalc.html.
Hope this helps!

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by