Publish pdf with code error

2 views (last 30 days)
Thales
Thales on 29 Jun 2018
I have a mlx file with some text and a few lines of code. I deliberately wrote a few code instructions I expect to return an error, to show to the reader those errors. However, the code after the error is not shown. How do I print every command that does not return an error and explicitly leave the error on the wrong commands?

Answers (0)

Categories

Find more on Data Import and Analysis 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!