matlab:matlab_documentation_guidelines
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
matlab:matlab_documentation_guidelines [2015/08/07 16:46] – created igorkagan | matlab:matlab_documentation_guidelines [2022/12/29 07:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== MATLAB documentation guidelines ====== | ====== MATLAB documentation guidelines ====== | ||
+ | Make sure you have most recent copy of Igtools: https:// | ||
+ | (occasionally updated at Dropbox/ | ||
+ | |||
+ | |||
+ | 1) After opening MATLAB | ||
+ | |||
+ | <code matlab> | ||
+ | edit; | ||
+ | EditorMacro(' | ||
+ | </ | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | 2) PRESS Alt-Control-h while in MATLAB Editor (new or existing file) | ||
+ | |||
+ | This will add documentation template: | ||
+ | |||
+ | <code matlab> | ||
+ | function ... = ...(...) | ||
+ | %functionname | ||
+ | % | ||
+ | % USAGE: | ||
+ | % usage example1; | ||
+ | % usage example2; | ||
+ | % ... | ||
+ | % | ||
+ | % INPUTS: | ||
+ | % input 1 - exlanation | ||
+ | % ... | ||
+ | % | ||
+ | % OUTPUTS: | ||
+ | % output1 - explanation | ||
+ | % ... | ||
+ | % | ||
+ | % REQUIRES: | ||
+ | % | ||
+ | % See also ... | ||
+ | % | ||
+ | % | ||
+ | % Author(s): | ||
+ | % URL: | ||
+ | % | ||
+ | % Change log: | ||
+ | % yyyymmdd: | ||
+ | % ... | ||
+ | % $Revision: 1.0 $ $Date: 2015-08-07 18:27:53 $ | ||
+ | |||
+ | % ADDITIONAL INFO: | ||
+ | % ... | ||
+ | %%%%%%%%%%%%%%%%%%%%%%%%%[DAG mfile header version 1]%%%%%%%%%%%%%%%%%%%%%%%%% | ||
+ | </ | ||
+ | |||
+ | ---- | ||
Thanks to: | Thanks to: | ||
- | % Author: Yair M. Altman: altmany(at)gmail.com | + | |
- | % URL: http:// | + | Yair M. Altman |
- | % http:// | + | |
+ | http:// | ||
+ | |||
+ | http:// |
matlab/matlab_documentation_guidelines.1438965998.txt.gz · Last modified: 2022/12/29 07:15 (external edit)