how to remove warning during code generation

3 Ansichten (letzte 30 Tage)
wenchao zhang
wenchao zhang am 29 Jun. 2024
Kommentiert: Diego Caro am 29 Jun. 2024
hello, during the code generation some warning will apper in command window, how to turn off this, only error message can apper.

Akzeptierte Antwort

Diego Caro
Diego Caro am 29 Jun. 2024
Bearbeitet: Diego Caro am 29 Jun. 2024
Add this line at the start of your code:
warning('off','all')
  2 Kommentare
wenchao zhang
wenchao zhang am 29 Jun. 2024
Thanks, Diego, i will try it later, i think i can work well.
Diego Caro
Diego Caro am 29 Jun. 2024
Good luck!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by