Text Output of m file
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I'm publishing an m file and want to print out the contents of another m file within the one I'm publishing I remember having done this before but I can't remember how.
Thanks
0 Commenti
Risposte (1)
Stephen23
il 23 Ago 2017
Modificato: Stephen23
il 24 Ago 2017
Method one:
% <include>filename.m</include>
Method two:
disp(fileread(...))
3 Commenti
Jan
il 23 Ago 2017
@Kambren: Then take a look into the documentation:
doc publish
Steven Lord
il 24 Ago 2017
Vedere anche
Categorie
Scopri di più su Data Import and Export in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!