:: DAPtools for MATLAB - relocate and rename example files :: Usage: :: matxcpy :: :: Place this batch file in your Window 7 User-documents area at :: C:\Users\Username\Documents\MATLAB, where 'Username' is the :: username of your windows account -- the same username you use :: to log on. Change the file type extension on this file to ".bat". :: :: Before you run this file, you must configure the following :: two items. SET USRPATH="C:\Users\Username\Documents\MATLAB" :: Replace the "Username" text above with your actual user name, :: as you would use to log onto your system. MATLAB automatically :: builds a MATLAB work area there, and adds it to the MATLAB :: internal command search path. SET DT4MPATH="C:\Program Files (x86)\Microstar Laboratories\DAPtools\MATLAB" :: You do not need to change this path if you used the default :: installation location to install the DAPtools for Matlab files. :: In the event of disaster: reinstall DAPtools for Matlab. This :: will restore a new copy of the original file set. :: Move example DAPL configuration script files without renaming. MOVE %DT4MPATH%\*.DAP %USRPATH% :: Move and rename example MATLAB script files COPY %DT4MPATH%\BIWAY.M %USRPATH%\biway.m DEL %DT4MPATH%\BIWAY.M COPY %DT4MPATH%\DATA.M %USRPATH%\data.m DEL %DT4MPATH%\DATA.M COPY %DT4MPATH%\FOURIER.M %USRPATH%\fourier.m DEL %DT4MPATH%\FOURIER.M COPY %DT4MPATH%\FOURIER1.M %USRPATH%\fourier1.m DEL %DT4MPATH%\FOURIER1.M COPY %DT4MPATH%\DSTRING.M %USRPATH%\dstring.m DEL %DT4MPATH%\DSTRING.M COPY %DT4MPATH%\INIT.M %USRPATH%\init.m DEL %DT4MPATH%\INIT.M COPY %DT4MPATH%\STOP.M %USRPATH%\stop.m DEL %DT4MPATH%\STOP.M COPY %DT4MPATH%\LOGFILE.M %USRPATH%\logfile.m DEL %DT4MPATH%\LOGFILE.M COPY %DT4MPATH%\WAVES.M %USRPATH%\waves.m DEL %DT4MPATH%\WAVES.M COPY %DT4MPATH%\WAVES1.M %USRPATH%\waves1.m DEL %DT4MPATH%\WAVES1.M ECHO Transfer of example files to user documents area completed.