Copying logical from one .m to another
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Cside
am 11 Okt. 2019
Kommentiert: Cside
am 12 Okt. 2019
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 Kommentare
Walter Roberson
am 11 Okt. 2019
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?
Akzeptierte Antwort
Walter Roberson
am 11 Okt. 2019
mat2str(NameOfVariable)
Should give you a character vector that you can copy and paste
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!