Integrate Matlab script code into Matlab LiveScript code

2 visualizaciones (últimos 30 días)
Oleg Boiko
Oleg Boiko el 11 de Oct. de 2016
Respondida: Daksh el 3 de Feb. de 2023
Is there a way to syncronize a standard editor script with a Livescript? For instance, coding in script while the parts of the code translate automatically to specified lines in Livescript.

Respuestas (1)

Daksh
Daksh el 3 de Feb. de 2023
I understand that you wish to operate MATLAB Editor script code as MATLAB Live Script code directly.
Currently, there is no option to directly convert a .M file code into .MLX file code, however Editor (.M) allows you to still put section breaks (can also be added using "%%"), create sections, and run sections separately. The easiest alternate workaround is to manually copy paste code into a new Live Editor Script, or to continue using the Editor script and separate code into different sections to get similar functionality.
Hope it helps!

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by