Output Command Window and Figures to File with MATLAB Online?
Show older comments
Hi all,
I would like to export my command window and figures for my data analysis program to a file (probably a text file). I tried using diary, however, the 'dairy' command is not supported for MATLAB Online. I also attempted to use the 'matlab' command (matlab -logfile filename.log) which also failed.
Additionally, I would like to save the files with a name like "Results_25-Jul-2017" where the date (str = date) is a variable that changes for the date the analysis occurs.
Any ideas?
Thanks! E
Answers (2)
Steven Lord
on 26 Jul 2017
1 vote
Would publishing your results to HTML or PDF be acceptable? The published output would contain "Results of running the code, including figures and Command Window output" which is what you said you wanted the output file to contain.
1 Comment
Erin Winkler
on 26 Jul 2017
Restu Nopiandi Irawan
on 26 Jul 2017
0 votes
did you make it without mfile?
1 Comment
Erin Winkler
on 26 Jul 2017
Categories
Find more on File Operations 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!