Is there a way to create all m files with already filled in some predetermined lines that are needed for every file like clear all; close all; author name etc?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Seetha Rama Raju Sanapala
am 18 Jul. 2014
Kommentiert: Seetha Rama Raju Sanapala
am 19 Jul. 2014
Is there a way to create all m files with some "predetermined, fixed lines already filled in" (that are needed for every file like clear all; close all; author name etc)?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
James Tursa
am 18 Jul. 2014
Have a template file sitting out there (e.g. mytemplate.m) that has a function outline & comments (author etc) already filled in. When you want to create a new function, open this file and the first thing you do is SAVEAS the desired file name, then edit your new function.
Siehe auch
Kategorien
Mehr zu Adding custom doc finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!