Hello,
When I create a new function the file created already contains text like :
function [ output_args ] = Untitled3( input_args ) %UNTITLED3 Summary of this function goes here % Detailed explanation goes here end
What I would like to do is to modify this predefined text (in particular other comments). And to the same at the creation of a new script. The aim is to have a generic structure of comments/code at the creation of a script/function.
If someone as a solution to do this, thank you in advance ! :)

 채택된 답변

Jan
Jan 2018년 11월 9일

0 개 추천

댓글 수: 2

OK, thank you for this resource. At first sight, it seems to answer to my question, I'll see if I can modify it to do what I want ... Thank you a lot Jan !
Finally, what I did is simply create a model_file.m which is a generic model and then when I want to create a new function/script I execute a shortcut (that I make) that copy and open the model_file.m .... This is not as complex and complete as the solution given by Jan but it work for me

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

질문:

2018년 11월 9일

댓글:

2018년 11월 23일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by