Is there any option to display message or variables in custom criteria script of simulink test ?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jerome Almon
am 13 Aug. 2024
Kommentiert: Jerome Almon
am 13 Aug. 2024
In custom criteria script of simulink test, the disp() doesnt work and so it is very hard to debug the script. I had to use error() and it doesnt support most of the types like structure, cell etc. Is there any option available for debuging the script in custom criteria script ?
0 Kommentare
Akzeptierte Antwort
Rishav
am 13 Aug. 2024
Hi Jerome,
Yes, 'disp' commands cannot be used in custom criteria script of Simulink Test.
A possible way for debugging your code could be to write any relevant data to the base workspace via the 'assignin' command and run/debug your code there.
Please refer to the following documentation for more details regarding this command:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Outputs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!