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?
조회 수: 3 (최근 30일)
이전 댓글 표시
Seetha Rama Raju Sanapala
2014년 7월 18일
댓글: Seetha Rama Raju Sanapala
2014년 7월 19일
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
채택된 답변
추가 답변 (1개)
James Tursa
2014년 7월 18일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!