Is there a way to print code from app designer?

10 vues (au cours des 30 derniers jours)
Eric H.
Eric H. le 24 Jan 2017
Commenté : Raúl Acuña le 23 Juin 2020
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 commentaire
Greg
Greg le 24 Jan 2017
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).

Connectez-vous pour commenter.

Réponse acceptée

Chris Portal
Chris Portal le 25 Jan 2017
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.

Plus de réponses (1)

Hope Q
Hope Q le 25 Oct 2019
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 commentaires
Robert Berglin
Robert Berglin le 5 Fév 2020
R2018b
Raúl Acuña
Raúl Acuña le 23 Juin 2020
Thank youuu

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by