Get the msgid of a certain warning?
Ältere Kommentare anzeigen
When I generate c-code from my Simulink model, 19000+ warnings were generated as ~20 categories. One of category is ' An ERT or ERT derived target is required to preserve the names of alias data types in the generated code. Reverting to builtin types during code generation.' . I want to ignore this type of warning by using the [warning('off', msgid)] command. However, because these warnings lie in the middle of all warnings, I cannot get their msgid by using ' _ lastwarn_' function. Is there anyway to get msgid just based on the warning texts?
Thanks a lot!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Configure and View Diagnostics finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!