- Plain to Live: “Open as Live Script” from Current Folder Browser or document tab
- Live to Plain: “Save as…” and select “MATLAB Code (*.m)” Please also note that in MATLAB R2022a 'export' was introduced to go from MLX to M: https://mathworks.com/help/matlab/ref/export.html
How do I go between plain scripts (.m) and live scripts (.mlx)?
374 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 4 Mär. 2016
Bearbeitet: MathWorks Support Team
am 20 Jan. 2023
I would like to convert my Live Editor files to ordinary script files and vice versa, how do I do that?
Akzeptierte Antwort
MathWorks Support Team
am 18 Jan. 2023
Bearbeitet: MathWorks Support Team
am 20 Jan. 2023
Diese(r) Antwort wurde durch Andy Greazel
markiert
Use the following following conversion steps:
2 Kommentare
Baptiste Ottino
am 7 Aug. 2017
Hi John, Hi Sarang,
It is perfectly possible to go between the two formats using the following internal functions (2016b, maybe even 2016a):
From mlx to m:
doc matlab.internal.richeditor.openAndConvert
From m to mlx:
doc matlab.internal.richeditor.openAndSave
I know I'm late on the topic, but I found out by pure luck after countless hours of research, and I hope it will help someone. Best regards.
Weitere Antworten (1)
Baptiste Ottino
am 7 Aug. 2017
Alternatively, use the command lines:
From mlx to m:
doc matlab.internal.richeditor.openAndConvert
From m to mlx:
doc matlab.internal.richeditor.openAndSave
0 Kommentare
Siehe auch
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!