how to remove warning during code generation
1 view (last 30 days)
Show older comments
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
Edited: Diego Caro
on 29 Jun 2024
Add this line at the start of your code:
warning('off','all')
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!