Customized text modification buttons for the Matlab Editor

A pair of functions enabling simple, programmatic modification of Matlab Editor text. These can be used to make customized buttons.

Download
Download

You are now following this Submission

Cite As

Matt J (2026). Customized text modification buttons for the Matlab Editor (https://www.mathworks.com/matlabcentral/fileexchange/181000-customized-text-modification-buttons-for-the-matlab-editor), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.2

Typo fix in Overview description.

Download
1.2.1

Added a pre-packaged Quick Access Toolbar function favoriteAlignEquals(). This will align a selected block of assignment statements at the '=' assignment operator.

Download
1.2.0

*Fixed a bug occurring when editor text contains explicit '\n' characters.

Download
1.1.10

Small bug in editorReplace.m

Download
1.1.9

Forget to upload the .zip for 1.1.8

Download
1.1.8

*Added favoriteTicToc
*Fixed double commenting in favoriteFuncHeader
*favoriteFuncHeader now provides an Output arguments block

Download
1.1.7

favoriteFuncHeader now also generates an arguments (Output) ... end block

Download
1.1.6

*Changed conventions of favoriteArgs2Help: Outputs will now be post-pended

Download
1.1.5

Description edit

Download
1.1.4

Description edit

Download
1.1.3

Added favoritesArgs2Help.m

Download
1.1.2

*Improved robustness of favoriteUnstruct
*With favoriteStripSemicolons, using the pragma %<KEEPSMC> will prevent that semicolons on that line from being stripped.

Download
1.1.1

Description update

Download
1.1.0

*Improved parsing robustness of favoriteStripSemicolons and favoriteForceSemicolons
*Improved indentation preservation in favoriteSwitchCase
*Improved the workflow and of favoriteUnstruct (see help doc)
*Added a new button function favoriteFuncHeader

Download
1.0.8

small bug fix in extractEditor

Download
1.0.7

More uniform indentation of inserted text in favoriteSwitchCase

Download
1.0.6

Figure improvement

Download
1.0.5

*Cosmetic fixes to editorReplace
*Added favoriteFileRename

Download
1.0.4

Bug fix in favoritesStripSemicolons.m
Now handles lines with trailing comments.

Download
1.0.3

Description edit

Download
1.0.2

*Description modifications
*Added favoritesUnstruct.m button code

Download
1.0.1

Description edits

Download
1.0.0

Download