How to show variables in output when publishing code?

I want to show a variable that I have in my workspace in the output when publishing my code, and I'm getting an undefined variable error when publishing. The variable is saved in a workspace that is loaded at the beginning of the code...and i want the user to be able to see that variable as an illustrative example.
Thanks for any help in advance!

Réponses (0)

Catégories

Tags

Question posée :

le 23 Avr 2014

Community Treasure Hunt

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

Start Hunting!

Translated by