Text Output of m file
7 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Stephen23
2017 年 8 月 23 日
編集済み: Stephen23
2017 年 8 月 24 日
Method one:
% <include>filename.m</include>
Method two:
disp(fileread(...))
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!