Text Output of m file
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Stephen23
le 23 Août 2017
Modifié(e) : Stephen23
le 24 Août 2017
Method one:
% <include>filename.m</include>
Method two:
disp(fileread(...))
3 commentaires
Jan
le 23 Août 2017
@Kambren: Then take a look into the documentation:
doc publish
Steven Lord
le 24 Août 2017
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!