フィルターのクリア

Converting to Live Script

8 ビュー (過去 30 日間)
April Bryan
April Bryan 2017 年 9 月 5 日
コメント済み: Eugene Davis 2017 年 10 月 13 日

Hi,

I have the Home version of Matlab and I am having difficulty converting my .m files to Live Script. I tried to follow the Matlab instructions for Opening an Existing Script as a Live Script. However, when I right click on the File Tab in the .m file, I do not get the Open as Live Script option and I cannot save my .m file as a Live Script.

Thanks

回答 (2 件)

Kojiro Saito
Kojiro Saito 2017 年 9 月 6 日
As the document says, "Functions and classes are not supported in the Live Editor, and cannot be converted". Please confirm the .m files which you're trying to convert to Live Script are not functions nor classes.
  1 件のコメント
Eugene Davis
Eugene Davis 2017 年 10 月 13 日
I found out that if you put the function call within a script that it works. Unfortunately you can't see inside the functions' code. But if you copy and paste the function code in the live editor then yu can call the function in the live script...and you can still annotate the function code.

サインインしてコメントする。


April Bryan
April Bryan 2017 年 9 月 6 日
Hi Kojiro,
Thank you very much for your response. There was a function in my code. I tried the conversion with another stand alone file and it worked.
April
  1 件のコメント
Kojiro Saito
Kojiro Saito 2017 年 9 月 6 日
Thank you for your confirmation. Could you accept the answer for future visitors, please?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLive Scripts and Functions についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by