Integrate Matlab script code into Matlab LiveScript code

1 回表示 (過去 30 日間)
Oleg Boiko
Oleg Boiko 2016 年 10 月 11 日
回答済み: Daksh 2023 年 2 月 3 日
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 日
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!

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by