Home > wafo > docs > startup.m

startup

PURPOSE ^

example startup file to put in your matlab path

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

  STARTUP example startup file to put in your matlab path
 
  You should install the WAFO toolbox according to the description given
  in the install.m file. Then modify this file so that the root directory of
  WAFO defined in this file comply with the installation on your machine. 
    
  See also  install

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

01 % STARTUP example startup file to put in your matlab path
02 %
03 % You should install the WAFO toolbox according to the description given
04 % in the install.m file. Then modify this file so that the root directory of
05 % WAFO defined in this file comply with the installation on your machine. 
06 %   
07 % See also  install
08 
09 
10 % add the WAFO root directory to the search path
11 % modify the line below if this does not comply with 
12 % your machine
13 
14 addpath(fullfile(matlabroot,'toolbox','contrib','wafo','')) 
15 
16 % adds the subdirectories of WAFO to the search path
17 switch 3
18   case 1, wafopath
19   case 2, initwafo;             % Initiate WAFO toolbox paths
20   case 3, initwafo('full',1,0); % Full init., put WAFO paths last in search path
21 end
22

Mathematical Statistics
Centre for Mathematical Sciences
Lund University with Lund Institute of Technology

Comments or corrections to the WAFO group


Generated on Thu 06-Oct-2005 02:21:16 for WAFO by m2html © 2003