MATLAB Style Guide Wiki access and search function

버전 1.2.0.0 (2.07 KB) 작성자: Sky Sartorius
Tips for writing clear code. Search the MATLAB Programming Style Guide Wiki from the command line.
다운로드 수: 1.3K
업데이트 날짜: 2020/1/23

라이선스 보기

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 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Updated for new URL search scheme.

1.1.0.0

Added some comments and made the file adhere a bit more to the style guide to reduce hypocrisy.

1.0.0.0