You are on page 1of 1

INSTALLING THE TOOLBOX AND RUNNING THE M-FILES

The CD-Rom included with the book contains all the developed functions and chapter
examples. The file names for chapter examples begin with the letters chp. For example, the M-file for Example 11.4 is chp11ex4. The appendix examples begin with exa
and exb and a number. All files with extension mdl are SIMULINK examples.
The CD contains a file called Power Toolbox V5.exe that automates installation
of all the files. Insert the CD-Rom in the disk drive and use Windows Explorer to view
its contents. Double click on the Power Toolbox V5.exe file to start the installation.
The installation program will prompt you for the location of the MATLAB directory
and the name of the directory where you would like the files to be installed.
To run m-files, load MATLAB. In the Command Window from File menu,
select Set Path to open the Set Path Window. Press the Add Folder button to open
the Browse for Folder. Select the folder where you have installed the Toolbox. Press
Move to Bottom option, and press Save button to save the new path permanently.
If you get the message MATLAB cannot save changes to the path, it will ask you
Would you like to save pathdef.m to another location? Select Yes, the pathdef.m
will be saved in MATLAB startup directory and will be used in the future sessions.
Alternatively, in Command Window Toolbar, use the Browse for folder button and Select the folder where you have installed the Toolbox to be the Current
Folder.

You might also like