supress command line output from exe
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Amardeep
am 22 Nov. 2011
Beantwortet: Alexander Tsarev
am 13 Apr. 2017
Hi all;
I have created an exe of a simulink model and am launching it from a .m using:
!mymdl.exe
My question is how do I suppress the command line blurb output by it i.e the
** Starting the model **
** Created output.mat **
As there is multiple (thousand) calls to the exe this rapidly gets very annoying.
Regards
Amardeep
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Kaustubha Govind
am 22 Nov. 2011
If you are using the ERT target, you can edit the generated ert_main.c and comment out the printf calls that are generating that output. You can then recompile the code by running the batch file (if on Windows) or use gmake to run the generated makefile.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!