docblock
Get or set editor invoked by Simulink DocBlock block
Description
docblock(
uses the specified command to set the editor opened by double-clicking a
DocBlock block. setEditorType
,command
)
By default, a DocBlock block opens Microsoft® Word to edit HTML or RTF files. If Word is not available on your system, the block opens these file types using the text editor specified on the Editor/Debugger Preferences pane of the MATLAB® Preferences dialog box. For text files, the default editor is the text editor specified in the MATLAB preferences.
The editor specifications persist between MATLAB sessions.
returns the current command to open the specified editor from a
DocBlock block.editCommand
= docblock(getEditorType
)