Insert a piece of code (a snippet) in the Matlab editor
版本 1.4.0.0 (1.6 KB) 作者:
Vincent Mazet
Paste into the editor a code using the shortcuts toolbar.
You often use the same code, but you still don't remember it?
1. Copy the code of the file insert_snippet.m.
2. Create a new shortcut in Matlab.
3. Paste the code into 'Callback'.
4. Change the code in the 22th line.
5. Give a name to your shortcut in 'Label'.
6. Click 'Save'.
7. Click on the newly created shortcut to paste your code into the editor.
引用格式
Vincent Mazet (2024). Insert a piece of code (a snippet) in the Matlab editor (https://www.mathworks.com/matlabcentral/fileexchange/41704-insert-a-piece-of-code-a-snippet-in-the-matlab-editor), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Environment and Settings 的更多信息
标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!