Text Output of m file
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Stephen23
am 23 Aug. 2017
Bearbeitet: Stephen23
am 24 Aug. 2017
Method one:
% <include>filename.m</include>
Method two:
disp(fileread(...))
3 Kommentare
Jan
am 23 Aug. 2017
@Kambren: Then take a look into the documentation:
doc publish
Steven Lord
am 24 Aug. 2017
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!