How can I use the publish() function to print variables as seen not in the command window, but in the workspace?

5 views (last 30 days)
Not new to matlab, but i haven't used it for a few years, and now i'm a bit rusty. I'm currently trying to use the publish() function to generate a PDF from my program, but i've been asked to show the variables like they look in the workspace (in table format, like in excel), not like how they appear in the command window. Is there a way to print that out in the pdf, while also excluding the lines of code in the program (so only the results from executing the program)?
Thank you very much.

Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!