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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!