Wednesday, May 1, 2013

INTRODUCTION TO MATLAB part-2

Unknown | 10:45 PM |

Inbuit Command in Matalb

STARTUP AND SHUTDOW
exit Terminate MATLAB program (same as quit)
finish Termination file for MATLAB program
matlab (UNIX) Start MATLAB program (UNIX platforms)
matlab (Windows) Start MATLAB program (Windows platforms)
matlabrc Startup file for MATLAB program
prefdir Folder containing preferences, history, and layout files
preferences Open Preferences dialog box
quit Terminate MATLAB program
startup Startup file for user-defined options
userpath View or change user portion of search path





COMMAND WINDOW AND HISTORY

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 Command Window text to file
dos Execute DOS command and return result
format Set display format for output
home Send cursor home
more Control paged output for Command Window
perl Call Perl script using appropriate operating system executable
system Execute operating system command and return result
unix Execute UNIX command and return result


HELP FOR USING MATLAB

builddocsearchdb Build searchable documentation database
demo Access product demos via Help browser
doc Reference page in Help browser
docsearch Help browser search
echodemo Run scripted demo step-by-step in Command Window
help Help for functions in Command Window
helpbrowser Open Help browser to access online documentation and demos
helpwin Provide access to help comments for all functions
info Information about contacting MathWorks
lookfor Search for keyword in all help entries
playshow Run scripted demo (obsolete; use echodemo instead)
support Open MathWorks Technical Support Web page
web Open Web site or file in Web or Help browser
whatsnew Release Notes for MathWorks products


WORKSPACE

clear Remove items from workspace, freeing up system memory
clearvars Clear variables from memory
delete Remove files or graphics objects
openvar Open workspace variable in Variable Editor or other graphical editing tool
pack Consolidate workspace memory
which Locate functions and files
who List variables in workspace
whos List variables in workspace, with sizes and types
workspace Open Workspace browser to manage workspace

MANAGING FILES
Search Path View a7nd change MATLAB search path
File Operations View and change files and folders
SEARCH PATH

addpath Add folders to search path
genpath Generate path string
path View or change search path
path2rc Save current search path to pathdef.m file
pathsep Search path separator for current platform
pathtool Open Set Path dialog box to view and change search path
restoredefaultpath Restore default search path
rmpath Remove folders from search path
savepath Save current search path
userpath View or change user portion of search path
which Locate functions and files

FILE OPERATIONS

See also Data Import and Export functions.
cd Change current folder
copyfile Copy file or folder
delete Remove files or graphics objects
dir List folder contents
fileattrib Set or get attributes of file or folder
filebrowser Open Current Folder browser, or select it if already open
isdir Determine whether input is folder
lookfor Search for keyword in all help entries
ls List folder contents
matlabroot Root folder
mkdir Make new folder
movefile Move file or folder
pwd Identify current folder
recycle Set option to move deleted files to recycle folder
rmdir Remove folder
tempdir Name of system's temporary folder
toolboxdir Root folder for specified toolbox
type Display contents of file
visdiff Compare two text files, MAT-Files, binary files, Zip files, or folders
what List MATLAB files in folder


PROGRAMMING TOOLS

Editing Files Edit files
Debugging Programs Debug MATLAB program files
Code Performance Improve performance and find potential problems in MATLAB code
Source Control Interface MATLAB with source control system
Publishing Publish MATLAB code and results
EDITING FILES

edit Edit or create file
keyboard Input from keyboard


DEBUGGING PROGRAMS

dbclear Clear breakpoints
dbcont Resume execution
dbdown Reverse workspace shift performed by dbup, while in debug mode
dbquit Quit debug mode
dbstack Function call stack
dbstatus List all breakpoints
dbstep Execute one or more lines from current breakpoint
dbstop Set breakpoints for debugging
dbtype List text file with line numbers
dbup Shift current workspace to workspace of caller, while in debug mode



CODE PERFORMANCE

bench MATLAB benchmark
checkcode Check MATLAB code files for possible problems
cputime Elapsed CPU time
memory Display memory information
mlintrpt Run checkcode for file or folder, reporting results in browser
profile Profile execution time for function
profsave Save profile report in HTML format
tic Start clock to measure performance
toc Stop clock to measure performance


SOURCE CONTROL

checkin Check files into source control system (UNIX platforms)
checkout Check files out of source control system (UNIX platforms)
cmopts Name of source control system
customverctrl Allow custom source control system (UNIX platforms)
undocheckout Undo previous checkout from source control system (UNIX platforms)
verctrl Source control actions (Windows platforms)


PUBLISHING

grabcode Extract MATLAB code from file published to HTML
notebook Open MATLAB Notebook in Microsoft Word software (on Microsoft Windows platforms)
publish Publish MATLAB file with code cells, saving output to specified file type
snapnow Force snapshot of image for inclusion in published document



SYSTEM
Operating System Interface Exchange operating system information and commands with MATLAB
MATLAB Version and License Information about MATLAB version and license

OPERATING SYSTEM INTERFACE

clipboard Copy and paste strings to and from system clipboard
computer Information about computer on which MATLAB software is running
dos Execute DOS command and return result
getenv Environment variable
hostid Server host identification number
perl Call Perl script using appropriate operating system executable
setenv Set environment variable
system Execute operating system command and return result
unix Execute UNIX command and return result
winqueryreg Item from Windows registry


MATLAB VERSION

ismac Determine if version is for Mac OS X platform
ispc Determine if version is for Windows (PC) platform
isstudent Determine if version is Student Version
isunix Determine if version is for UNIX platform
javachk Generate error message based on Java feature support
license Return license number or perform licensing task
prefdir Folder containing preferences, history, and layout files
usejava Determine whether Sun Java feature is supported in MATLAB software
ver Version information for MathWorks products
verLessThan Compare toolbox version to specified version string
version Version number for MATLAB and libraries

(cont...)

No comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

Search

Infolinks In Text Ads

Total Pageviews

Subscribe here

Enter your email address:

Delivered by FeedBurner