MATLAB Tips
Home Up Maple Tips MATLAB Tips PSpice Tips Verilog

 

Startup File

Put commands that you want to run each time in a file called startup.m located in the MATLAB bin directory.

A basic startup file might look like this:

% add paths
path(path,'\Personal\class\98-99\Fall\ec481\matlab');
path(path,'\Personal\class\98-99\Fall\ec481\sounds');
path(path,'\Personal\class\98-99\Winter\ec300\matlab');

% display confirmation message
disp('--- startup.m processed OK ---')