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!