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 件のコメント

Julien Guegan
Julien Guegan 2018 年 11 月 9 日
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 !
Julien Guegan
Julien Guegan 2018 年 11 月 23 日
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