Archive for March, 2008:
end
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
else
else Used with IF.
else is used with IF. The statements after the else are executed
if all the preceding IF and ELSEIF expressions are false. Read More
continue
continue Pass control to the next iteration of FOR or WHILE loop.
continue passes control to the next iteration of FOR or WHILE loop
in which it appears, skipping any remaining statements in the body
of the FOR or WHILE loop. Read More
Examples of Expressions
You have already seen several examples of MATLAB expressions. Here are a few more examples, and the resulting values. Read More
pack
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