Using the Toolbox in the DCU Engineering Labs
The toolbox is set up in S144/S143 (UG use) and S210 (PG use).

You only have write access to two directories. These are your home drive (H:) and the lab temporary drive (C:\Temp). It is strongly recommended that you work from your H drive (see Note below 2 if you experience any performance issues using this drive). The IPA toolbox is stored in Matlab's root directory, therefore, you can use the functionality of the toolbox from your home drive without the need to copy any files. However, if you wish to run the example files from the directory C:\VSG_IPA_toolbox\examples you MUST copy the directories C:\VSG_IPA_toolbox\examples and C:\VSG_IPA_toolbox\images into your home drive.

Alternatively to set up your own local copy:

  • create a local directory on your H drive (lets call this vsg_matlab).
  • copy all the files (as listed below) from c:\VSG_IPA_toolbox to this drive (ie h:\vsg_matlab)
  • this is the new path that your program should point to for them to run - as illustrated below:
  • you are now in a position to run your programs
  • test out all is ok by running one of the example programs supplied
  • remember to add any new paths if you are creating/using new subdirectories

NOTE 1: The toolbox example files (from the installation section) will not run from the C drive in S210/S144/S143. If you want to run the sample files, you must follow the procedure outlined above. If you are getting the following error whenever a vsg function is called: You only have write access to two directories. These are your home drive (H:) and the lab temporary drive (C:\Temp). It is strongly recommended that you work from your H drive. The IPA toolbox is stored in Matlab's root directory, therefore, you can use the functionality of the toolbox from your home drive without the need to copy any files. However, if you wish to run the example files from the directory "C:\VSG_IPA_toolbox\examples", you MUST copy the directories "C:\VSG_IPA_toolbox\examples" and "C:\VSG_IPA_toolbox\images" into your home drive.


Then your path is setup incorrectly. You can confirm this by running the path command in the matlab command window.

NOTE 2: Some people experience performance issues (random errors, slow performance) when running Matlab from the H drive or an external USB drive. If this is an issue for you, one suggestion is to run you code from "C:\Temp" directory. Remember that the contents of this directory is cleared once you logout, so make sure to copy all your work to the H drive (or USB stick) on completion.  

Home         Back