Integrate Matlab script code into Matlab LiveScript code

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.

답변 (1개)

Daksh
Daksh 2023년 2월 3일

0 개 추천

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!

카테고리

도움말 센터 및 File Exchange에서 Scripts에 대해 자세히 알아보기

제품

태그

질문:

2016년 10월 11일

답변:

2023년 2월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by