Saturday, 31 May 2014

Matlab basic commands


Command
Description
exit
Terminate MATLAB
finish
MATLAB termination M-file
matlabrc
MATLAB startup M-file for
single-user systems or system
administrators
prefdir
Directory containing preferences,
history, and layout files
preferences
Open Preferences dialog box for
MATLAB and related products
quit
Terminate MATLAB
clc
Clear Command Window
commandhistory
Open Command History window, or
select it if already open
commandwindow
Open Command Window, or select it
if already open
diary
Save session to file
matlabcolon (matlab:)
Run specified function via hyperlink
perl
Call Perl script using appropriate
operating system executable
unix
Execute UNIX command and return
result
demo
Access product demos via Help
browser
echodemo
Run M-file demo step-by-step in
Command Window
help
Help for MATLAB functions in
Command Window
helpbrowser
Open Help browser to access all
online documentation and demos
helpwin
Provide access to M-file help for all
functions


Workspace

assignin
Assign value to variable in specified
workspace
clear
Remove items from workspace,
freeing up system memory
evalin
Execute MATLAB expression in
specified workspace
exist
Check existence of variable, function,
directory, or Java class
openvar
Open workspace variable in Array
Editor or other tool for graphical
editing
which
Locate functions and files
workspace
Open Workspace browser to manage
workspace
uiimport
Open Import Wizard to import data



sparse
Create sparse matrix
zeros
Create array of all zeros


Publishing

grabcode
MATLAB code from M-files
published to HTML
notebook
Open M-book in Microsoft Word
(Windows)
publish
Publish M-file containing cells,
saving output to file of specified type

No comments:

Post a Comment