quit

August 12th, 2009 No Comments   Posted in Functions

quit Quit MATLAB session.
quit terminates MATLAB after running the script FINISH.M,
if it exists. The workspace information will not be saved
unless FINISH.M calls SAVE. If an error occurs while
executing FINISH.M, quitting is cancelled. 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

while

March 6th, 2008 No Comments   Posted in Controls

while Repeat statements an indefinite number of times.
The general form of a while statement is: Read More

elseif

March 6th, 2008 No Comments   Posted in Controls

elseif IF statement condition.
elseif is used with IF. The statements after the elseif are
executed if the expression is true and all the preceding IF and
elseif expressions are false. An expression is considered true if
the real part has all non-zero elements. Read More

if

March 6th, 2008 No Comments   Posted in Controls

if if statement condition.
The general form of the if statement is Read More

for

March 6th, 2008 No Comments   Posted in Controls

for Repeat statements a specific number of times.
The general form of a for statement is: Read More

end

March 6th, 2008 No Comments   Posted in Controls

end Terminate scope of FOR, WHILE, SWITCH, TRY, and IF statements. Without END’s, FOR, WHILE, SWITCH, TRY, and IF wait for further input. Each end is paired with the closest previous unpaired FOR, WHILE, SWITCH, TRY or IF and serves to terminate its scope. Read More