Documentation of Editor API
36 views (last 30 days)
There is an API to interact with the files opened in the editor, see e.g.
But how can I find the corresponding docs or further explanations? These trials are not successful in R2016b:
docsearch editor api
doc matlab.desktop.editor.getAll % [EDITED: This DOES work!]
doc matlab.desktop.editor % This also - See Michelle's answer
Searching in the net does not find the official documentation also, e.g. asking Google for "matlab.desktop.editor.getAll" provides these links on top:
- Is this API documented?
- If so, where do I find an exhaustive documentation?
- How could I find this by my own?
PS. What a pity that the powerful feature of running macros in the editor has been removed after Matlab version 5.3! FEX: EditorMacro does not work as stable as I need it.
Michelle Hirsch on 17 Nov 2017
These functions are documented through their source code help, though there are no reference pages. Our intention is that the editor interface is fully supported.
You can use help or doc to get help on any function in the package. Doc just opens the help in the documentation browser. You can also get a listing of all of the documented functionality by calling