Code covered by the BSD License  

Highlights from
MATLAB Style Guide Wiki access and search function

Be the first to rate this file! 13 Downloads (last 30 days) File Size: 1.9 KB File ID: #40795
image thumbnail

MATLAB Style Guide Wiki access and search function

by

 

Tips for writing clear code. Search the MATLAB Programming Style Guide Wiki from the command line.

| Watch this File

File Information
Description

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 current content is primarily from Richard Johnson's "MATLAB Programming Style Guidelines" (used with permission), but the hope is that the user community will quickly add and edit.

Acknowledgements

Matlab Programming Style Guidelines and Updates To The Elements Of Matlab Style inspired this file.

This file inspired Search: Web Search From The Command Line and Matlab Style Guidelines 2.0.

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us