Copying logical from one .m to another
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I have a logical from one .m file that i would like to transfer to another.m file. I have tried copying and pasting, but it does not seem to be valid.
Any advice?
4 件のコメント
Walter Roberson
2019 年 10 月 11 日
Are you sure that it is in the form of commands in a .m file at the moment? And not data that you are displaying to the command window?
採用された回答
Walter Roberson
2019 年 10 月 11 日
mat2str(NameOfVariable)
Should give you a character vector that you can copy and paste
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!