MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Unsupported Features


When deciding whether to create a live script or function, it is important to note several
unsupported features in the Live Editor:


  • Classes — Classes are not supported in the Live Editor. Create classes as plain code
    files (.m) instead. You then can use the classes in your live scripts or functions.

  • Editor preferences — The Live Editor ignores most Editor preferences, including
    custom keyboard shortcuts and Emacs-style keyboard shortcuts.


Save Live Scripts and Functions as Plain Code

To save a live script or function as a plain code file (.m):

(^1) On the Live Editor tab, in the File section, select Save > Save As....
(^2) In the dialog box that appears, select MATLAB Code files (*.m) as the Save as
type.
(^3) Click Save.
When saving, MATLAB converts all formatted content to publish markup.
See Also
Related Examples



  • “Create Live Scripts in the Live Editor” on page 19-7

  • “Live Code File Format (.mlx)” on page 19-72

  • MATLAB Live Script Gallery


19 Live Scripts and Functions

Free download pdf