MATLAB Snippets

Code snippets for the Matlab editor.

https://github.com/trnkap/matlab-snippets

You are now following this Submission

MATLAB Snippets App adds code snippets to the Matlab editor. Snippets definition uses syntax compatible with the Visual Studio Code and with the Textmate 1.x. The integration to the Matlab editor is loose, the snippets are inserted by a keyboard shortcut (usually <ALT+1>).

See the Github project page for the animated App use examples:
https://github.com/trnkap/matlab-snippets

Features:
* snippets can contain tabstops with default values (placeholders)
* any tabstop value can be mirrored on multiple locations in the snippet
* variables containing currently selected text, currently edited filename, etc. can be used
* tabstop mirroring and variables can be altered by regular expressions

Cite As

Pavel Trnka (2026). MATLAB Snippets (https://github.com/trnkap/matlab-snippets), GitHub. Retrieved .

Categories

Find more on Develop Apps Using App Designer in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2016a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.6

Bug fix.

1.0.5

Hide window handle to avoid conflicts with gcf, gca, etc.

1.0.4

Bug fix.

1.0.3

Fix for high DPI screens with text scaling.

1.0.2

Fix: App did not start after Matlab restart.

1.0.1

Description update

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.