MATLAB Style Guide Wiki access and search function
STYLEGUIDE by itself opens the MATLAB Programming Style Guide Wiki in the MATLAB web browser.
STYLEGUIDE SEARCHTERM1 SEARCHTERM2 SEARCHTERM3 ... searches the style guide wiki for any number of provided search terms and opens the search results page in the MATLAB web browser.
STYLEGUIDE uses similar syntax to the WEB function with the exception that it does not expect a URL. Rather, any number of search terms may be used. All other inputs and outputs for WEB work for STYLEGUIDE, e.g. [STAT, BROWSER, URL] = STYLEGUIDE(SEARCHTERM,'-NOTOOLBAR','-NEW').
Examples:
styleguide naming conventions
searches the style guide for "naming+conventions."
styleguide -browser
opens the style guide in the system web browser
[stat,h] = styleguide;
opens the style guide. Use close(h) to close the browser window.
The content is primarily from Richard Johnson's "MATLAB Programming Style Guidelines" (used with permission). Richard has since published a 2.0 version.
引用格式
Sky Sartorius (2024). MATLAB Style Guide Wiki access and search function (https://www.mathworks.com/matlabcentral/fileexchange/40795-matlab-style-guide-wiki-access-and-search-function), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
致谢
参考作品: MATLAB Programming Style Guidelines, Updates to The Elements of MATLAB Style, MATLAB Style Guidelines 2.0
启发作品: MATLAB Coding Checklist, MATLAB Style Guidelines 2.0, SEARCH: Web search from the command line
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!