Installation guide for Windows


First, please download the software sources BUNKI*1.


  • Extract where you want to install it on your computer.
    • For the following explanation, we assume that all the files are extracted on the Desktop(C:\Documents and Settings\user\Desktop\BUNKI)*2*3
    • After the is extracted, the install directory is as follows:


      C:\Documents and Settings\user\Desktop\BUNKI


BUNKI's installation path must be set. As there are several methods, please choose the one most fitted to your situation out of the following.

  1. Automatic addition of the install path on MATLAB's startup (Recommended)
  2. Run the addpath command in the MATLAB command window
  3. Addition from¡ÖFile¡×->¡ÖSet Path¡×

  • Automatic addition of the install path on MATLAB's startup (Recommended)
    • By editing startup file (startup.m), it is possible to customize Matlab's environment variables and user's paths. If the startup file exists in the user's default path*4, Matlab loads it upon startup, and runs the script it contains.
    • The following folder is where to save the startup.m file.
    1. The installation folder of MATLAB (The case where installed as a default configuration)
      • C:\Program Files\MATLAB\2006a\work*5
    2. Configuration folder for personal user
      • C:\Documents and Settings\user\Application Data\MathWorks\MATLAB\R2006a*6
    • The method for the configuration is as follows:
      1. Using a proper editor (the Matlab editor for instance), write the path in the startup.m file.



      2. After the editor window opened, enter the path where BUNKI is, as follows:
        addpath 'C:\Documents and Settings\user\Desktop\BUNKI'


        where user is the user's login for Windows. For example, if the user's login is robert, then the following is what you actually need to enter:
        addpath 'C:\Documents and Settings\robert\Desktop\BUNKI'
      3. This is the end of the installation and the configuration.

  • Run addpath command in the MATLAB command window*7:
    1. For each startup of MATLAB.
    2. Run the following addpath command in MATLAB command window.
      >> addpath C:\Documents and Settings\user\Desktop\BUNKI


    3. This is the end of the installation and the configuration.

  • Select Set Path from the File menu, or type pathtool in the Command Window prompt. The Set Path dialog box opens. Addition from File menu *8

    1. Select Set Path from the File menu.


    2. Set Path dialog box opens. Click Add Folder or Add with Subfolders.


    3. The Browse for Folder dialog box opens. In the Browse for Folder dialog box, use the view of your file system to select the directory to add C:\Documents and Settings\user\Desktop\BUNKI, and then click OK.


    4. Click Close. If you did not save the changes in the previous step, the directories you added remain on the search path until you end the current MATLAB session.
    5. This is the end of the installation and the configuration.

*1 BUNKI comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; for details see LICENSE.
*2 user means login user name.
*3 There is no limitation for the folder to extract the installation file. If you extract the file on another folder, then you change the installation path.
*4 Because startup.m doesn't exist when launching Matlab for the first time after installation, each user has to create it individually.
*5 The case of MATLAB 2007a is the same as that of MATLAB 2006a or 2006b.
*6 In the case of MATLAB2007a, startup.m is saved to MATLAB folder under My Document folder.
*7 The added path setting is reset when exit out of MATLAB. The addition of the path, therefore, must done every startup of MATLAB.
*8 You must possess the administrator authority.

Attach file: filesetting6.png 263 download [Information] filesetting5.png 270 download [Information]

Front page   Edit Freeze Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: 2009-07-23 (Thu) 20:13:30 (3281d)