Save a copy of current active *.m file in editor adding time mark.

Current *.m file in editor is saved with name suffixed by '_data_time' under the same directory

You are now following this Submission

% Syntax:
% savem_z
% tested for MATLAB 7.4.0 (R2007a), 7.9.0 (R2009b), 7.11.0 (R2010b),
% 7.12.0 (R2011a), 7.13.0 (R2011b)
% on UNIX and PC platforms
%
% Description:
% Too simple to be stated here.

Cite As

Semi (2026). Save a copy of current active *.m file in editor adding time mark. (https://www.mathworks.com/matlabcentral/fileexchange/28669-save-a-copy-of-current-active-m-file-in-editor-adding-time-mark), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: InsertHeader

Categories

Find more on Software Development in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

While fulfilling the request of support for R2007b from another user, ran into a smarter way of doing this.

1.1.0.0

Made modifications to work with different versions of MATLAB.

1.0.0.0