Paste a snippet code into Matlab editor using shortcuts
You often use the same code, but you still don't remember it?
1. Open the file shortcut_to_paste_in_editor.m and copy its text.
2. Create a new shortcut (right click on the Shortcut toolbar > New Shortcut).
3. Paste the code into 'Callback'.
4. Change the code in the 22th line.
4. Give a name to your shortcut in 'Label'.
5. Click 'Save'.
6. Click on the newly created shortcut to paste your code into the editor.