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!

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

提问:

2014-4-23

Community Treasure Hunt

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

Start Hunting!

Translated by