how to remove warning during code generation
36 views (last 30 days)
Show older comments
wenchao zhang
on 29 Jun 2024 at 5:14
Commented: Diego Caro
on 29 Jun 2024 at 8:54
hello, during the code generation some warning will apper in command window, how to turn off this, only error message can apper.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1724526/image.png)
0 Comments
Accepted Answer
Diego Caro
on 29 Jun 2024 at 5:21
Edited: Diego Caro
on 29 Jun 2024 at 5:25
Add this line at the start of your code:
warning('off','all')
2 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!