Home > Reviews > Often-used MATLAB Commands

Often-used MATLAB Commands

I’m very forgetful…Hopefully this will help me to fetch some memory when I want to use it.

mkdir -- make a directory
../testdata -- go out one step
save([imagename,'_package'], 'Y', 'Y_index', 'Z', 'evidence_label', 'n_level', 'H');
movefile(['./',imagename,'_package.mat'], ['./',imagename]);

copyfile('source','destination')

[pathstr, name, ext] = fileparts(filename)

[s,mess,messid] = mkdir('../testdata','newFolder')
pwd -- identify current folder
list all the filename with extension from a directory and its subdirectory. Please visit [link] from stackoverflow.
caxis([cmin cmax])

How do I control axis tick labels, limits, and axes tick locations?
http://www.mathworks.com/support/solutions/en/data/1-15HXQ/index.html
move xtick label to the top
set(gca,'XAxisLocation','top');

How to plot image icon on the image? I will post my code very soon.

					
Advertisements
Categories: Reviews
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: