Development Environment | ![]() ![]() |
Saving M-Files
After making changes to an M-file, you will see an asterisk (*) next to the file name in the title bar of the Editor/Debugger. This indicates there are unsaved changes to the file.
To save the changes, use one of the Save commands in the File menu:
.m
extension because MATLAB automatically assigns the .m
extension to the filename. If you do not want an extension, type a .
(period) after the filename.You can also save and run a file - for instructions, see Running an M-File.
Accessing Your Source Control System
If you use a source control system for M-files, you can access it from within the Editor/Debugger to check in files. See Chapter 9, Interfacing with Source Control Systems.
![]() | Finding and Replacing a String | Printing an M-File | ![]() |