Text Output of m file
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Stephen23
el 23 de Ag. de 2017
Editada: Stephen23
el 24 de Ag. de 2017
Method one:
% <include>filename.m</include>
Method two:
disp(fileread(...))
3 comentarios
Jan
el 23 de Ag. de 2017
@Kambren: Then take a look into the documentation:
doc publish
Steven Lord
el 24 de Ag. de 2017
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!