Understanding Code Analyzer Warnings

April 21st, 2010 No Comments   Posted in Documents

Syntax Warnings and Property Names

The MATLAB code analyzer helps you optimize your code and avoid syntax errors while you write code. It is useful to understand some of the rules that the Code Analyzer applies in its analysis of class definition code. This understanding helps you avoid situations in which MATLAB allows code that is undesirable. Read More

What Is MATLAB?

March 13th, 2008 No Comments   Posted in

MATLAB is a high-performance language for technical computing. It ntegrates computation, visualization, and programming in an easy-to-use nvironment where problems and solutions are expressed in familiar athematical notation. Typical uses include: Read More

Desktop Tools

March 12th, 2008 No Comments   Posted in Documents

This section provides an introduction to MATLAB’s desktop tools. You can also use MATLAB functions to perform most of the features found in the desktop tools. The tools are: Read More

pack

March 6th, 2008 No Comments   Posted in Functions

pack Consolidate workspace memory.
pack performs memory garbage collection. Extended MATLAB sessions may cause memory to become fragmented, preventing
large variables from being stored. pack is a command that saves all variables on disk, clears the memory, and then
reloads the variables. Read More

open

March 6th, 2008 No Comments   Posted in Functions

OPEN Open files by extension.
open NAME where NAME must contain a string, does different things
depending on the type of the object named by that string: Read More

more

March 6th, 2008 No Comments   Posted in Functions

more   Control paged output in command window.
more OFF disables paging of the output in the MATLAB command window.
more ON enables paging of the output in the MATLAB command window.
more(N) specifies the size of the page to be N lines. Read More

format

March 6th, 2008 No Comments   Posted in Functions

format Set output format.
All computations in MATLAB are done in double precision.
format may be used to switch between different output display formats as follows:
format Default. Same as SHORT.
format SHORT Scaled fixed point format with 5 digits.
format LONG Scaled fixed point format with 15 digits.
format SHORT E Floating point format with 5 digits.
format LONG E Floating point format with 15 digits.
format SHORT G Best of fixed or floating point format with 5 digits.
format LONG G Best of fixed or floating point format with 15 digits.
format HEX Hexadecimal format.
format + The symbols +, – and blank are printed
for positive, negative and zero elements.
Imaginary parts are ignored.
format BANK Fixed format for dollars and cents.
format RAT Approximation by ratio of small integers. Read More