Difference between revisions of "Download and setup MSlice"
Line 21: | Line 21: | ||
[http://download.libisis.org/kits/mslice_win32_2.zip Matlab 2007b] | [http://download.libisis.org/kits/mslice_win32_2.zip Matlab 2007b] | ||
+ | [http://download.libisis.org/kits/mslice_distribution_kit.zip Matlab 2008-onwards] | ||
| | | | ||
Download one of the versions and | Download one of the versions and |
Revision as of 10:15, 12 April 2010
Download Mslice
Matlab 32 Version
Windows | Linux | MacOS |
---|---|---|
Download one of the versions and see "How to MEX MSlice". |
Download one of the versions and see "How to MEX MSlice". |
Standalone Windows Versions
Set Up
Matlab Version
- Unpack this file into C:\mprogs or a directory of your choice eg X:\analysis
- Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)
- Add the following lines to the startup.m file
addpath('c:\mprogs\mslice') % where c:\mprogs\mslice is the folder you unzipped mslice into mslice_init
Standalone Version
Before using a Matlab compiled product you must run MCRInstaller.exe. This .exe file installs required components of Matlab on your computer. Admin rights are required to run this and it must be run the first time you download a standalone matlab application. If you have already run this file on your computer, you do not need to run it again. Run the file and follow the on-screen instructions.
Set Up Examples
Some examples are included with the program. These are .msp files used by mslice to store locations of various required data. For these to work correctly, you need to run a coversion program so that they refer to your installation location. For the Matlab installation, type >> mslice_setup_examples, or for the standalone version run mslice_setup_examples.exe. You only need to do this once at the time of installation, or if you move the installation to another folder. This step is optional for newer versions of Mslice as they automatically pick-up examples from the mslice folder.
Start Mslice
To stat mslice in Matlab, type >> mslice. To start the standalone version, double click the mslice.exe file. An example should appear in the GUI straight away. To look at other examples, click the parameters menu item and click load parameters. Then choose one of the other example .msp files to load.