function mmhowtoinstall % MMHOWTOINSTALL Instructions to install the Morphology Toolbox. % % MMHOWTOINSTALL % % INSTALLATION INSTRUCTIONS FOR THE SDC MORPHOLOGY TOOLBOX V1.1 % 15JAN02. % % % % WINDOWS PLATFORM % % 1. Execute the file morph1.1.exe. % % 2. Create a new directory to install the toolbox. You will have to % confirm the creation of this directory. % % 3. Start MATLAB. % % 4. Go to the lib folder of the Morphology Toolbox Directory and % execute the script MMINSTALL.m to retrieve the internal number of % your computer. % % % >> cd xxx/xxx/morph1.1/lib % >> mminstall % % 5. Use the internal number to access the Internet home page, that % is reported by MMINSTALL, to get the authorization code. % % 6. Once the authorization code is obtained, run MATLAB and go to % the Morphology Toolbox Directory/lib again. This time, invoke % MMINSTALL with the authorization code: % % % >> cd xxx/xxx/morph1.1/lib % >> mminstall('v5aZ8Bc.erT56dvbj') % % % This procedure will register the library file. Besides, MMINSTALL % creates a mmstartup.m file, in the lib folder of the Morphology % Toolbox Directory, and updates the MATLAB startup.m file, in the % folder .../matlab/toolbox/local. The new MATLAB startup.m file % calls mmstartup.m file, that sets the paths of the Morphology % Toolbox. Thus, every time that you start MATLAB the paths of the % Morphology Toolbox will be recognized. % % 7. Move or copy the Morphology Toolbox library morph4matlab1.1.dll % to the windows directory (C:/WINDOWS or C:/WINNT) or to other % directory listed in your path. % % 8. Re-start MATLAB and verify if the toolbox is properly installed. % % 9. See the commands: % % % help mminfo %gives the list of basic concepts % help morph %gives the list of the functions % help mmdemos %gives the list of demo scripts % web(which('index.html')) %call the HTML doc in your browser % % % 10. If something goes wrong, check the requirements of the toolbox: % % a) The toolbox library file morph4matlab1.1.dll must be registered. % % b) The toolbox library file morph4matlab1.1.dll must be in the % windows directory or in other directory listed in your windows % search path. c) The MATLAB path has the Morphology Toolbox paths. % This can be verified by the MATLAB script path. % % % % UNINSTALLATION % % You can uninstall the Morphology Toolbox for MATLAB by deleting % everything under the morph1.1 directory. The library file % morph4matlab1.1.dll must be removed by hand, since it was % manually moved from the Morphology Toolbox Directory. % % % % UNIX PLATFORM % % 1. Download morph1.1.tar.gz to an installation directory. % % 2. Decompress and untar using the commands: % % % %gunzip morph1.1.tar.gz % %tar xvf morph1.1.tar % % % This will open the toolbox in the directory morph1.1. % % 3. Set the LD_LIBRARY_PATH environment variable to include the % directory morph1.1/lib. % % 4. Run MATLAB. % % 5. Go to the morph1.1/lib directory and execute the MMINSTALL.m % script: % % % >> cd xxx/xxx/morph1.1/lib % >> mminstall % % This script will retrieve the internal number of your computer. % % 6. Using the internal number, you can get via Internet an % authorization code to finish the installation of the toolbox. % % If MMINSTALL fails, check if the LD_LIBRARY_PATH contains the % current directory in its list. Give the command % % % >>getenv('LD_LIBRARY_PATH') % % % and look if morph1.1/lib is in one of its paths. % % 7. Once the authorization code is obtained, run MATLAB and go to % the morph1.1/lib directory. This time, invoke MMINSTALL with the % authorization code: % % % >> cd xxx/xxx/morph1.1/lib % >> mminstall('v5aZ8Bc.erT56dvbj') % % % This procedure will register the library file. Besides, MMINSTALL % creates a mmstartup.m file ,in the morph1.1/lib directory, and % updates your MATLAB startup.m file. The new MATLAB startup.m % file calls mmstartup.m, that sets the paths of the Morphology % Toolbox. Thus, the Morphology Toolbox paths will be recognized % every time you start MATLAB. % % 8. Re-start MATLAB and verify if the toolbox is properly installed. % % 9. See the commands: % % % help mminfo %gives the list of basic concepts % help morph %gives the list of the functions % help mmdemos %gives the list of demo scripts % web(which('index.html')) %call the HTML doc in your browser % % % 10. If something goes wrong, check the requirements for the toolbox % be installed: % % a) The toolbox library file libmorph4matlab1.1.so must be % registered. % % b) The toolbox library file libmorph4matlab1.1.so must be in the % library path. Check the environment LD_LIBRARY_PATH. % % c) The MATLAB path has the Morphology Toolbox paths. This can be % verified by the MATLAB script path. % % % % UNINSTALLATION % % You can uninstall the Morphology Toolbox by deleting everything % under the morph1.1 directory. % % See also MMHOWTOINSTALL, MMLICENSE, MMREADME, MMVERSION. % begin of the default argument automatic treatment% end of the default argument automatic treatment 1 help mmhowtoinstall % Copyright (c) 1998-2001 by SDC Information Systems.