Is there a way to print code from app designer?

22 ビュー (過去 30 日間)
Eric H.
Eric H. 2017 年 1 月 24 日
コメント済み: Raúl Acuña 2020 年 6 月 23 日
I can't figure out how to print code from the app designer like you can from the function/script editor. The only solution I have found is to copy all the code and copy into another editor. Is there a way to print code from the app designer?
  1 件のコメント
Greg
Greg 2017 年 1 月 24 日
I haven't found any way from the AppDesigner development environment itself. If all you want to print is the source code, is copy/paste into the Editor that bad? 4 combination keystrokes and you're done: Ctrl+A --> Ctrl+C --> (click on editor) Ctrl+V --> Ctrl+P.
If you use MATLAB's editor, you should even end up with the same markups (color scheme).

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

採用された回答

Chris Portal
Chris Portal 2017 年 1 月 25 日
Copying and pasting into the Editor is the only way of doing this at the moment, but I've passed along the enhancement request to the team.
  1 件のコメント
Eric H.
Eric H. 2017 年 2 月 3 日
Thank you!

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

その他の回答 (1 件)

Hope Q
Hope Q 2019 年 10 月 25 日
The development team followed through. In MATLAB R2019b, within the App Designer Code View, select Save and select "Export to .m File". I've just started using App Designer so I don't know which version of MATLAB introduced the export option.
  2 件のコメント
Robert Berglin
Robert Berglin 2020 年 2 月 5 日
R2018b
Raúl Acuña
Raúl Acuña 2020 年 6 月 23 日
Thank youuu

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

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by