Difference between revisions of "Download and setup MSlice"

From Mslice
Jump to navigationJump to search
Line 3: Line 3:
  
 
===Matlab Version 32 Bit===
 
===Matlab Version 32 Bit===
 
 
* Originally developed by '''[[Radu Coldea]]''' with alterations by ISIS. Contact [[User:Toby Perring|Toby Perring]] for support.
 
* Download the latest mslice build for your version of matlab
 
* For 64 bit systems see "how to MEX" below.
 
 
  
 
{| {{Tablestyle}}
 
{| {{Tablestyle}}
Line 30: Line 24:
 
Download either of the versions and
 
Download either of the versions and
  
see "[[How to MEX MSlice]]" if you have a compiler.
+
see "[[How to MEX MSlice]]".
 
|
 
|
 
Download either of the versions and
 
Download either of the versions and
  
see "[[How to MEX MSlice]]" if you have a compiler.
+
see "[[How to MEX MSlice]]".
 
|}
 
|}
  
  
 
===Standalone Version 32 Bit===
 
===Standalone Version 32 Bit===
 
 
* Originally developed by '''[[Radu Coldea]]''' with minor alterations by ISIS. Contact [[User:Toby Perring|Toby Perring]] for support.
 
  
  
Line 61: Line 52:
  
  
==Setup==
+
==Set Up==
  
 
===Matlab Version===
 
===Matlab Version===
Line 75: Line 66:
 
===Standalone Version===
 
===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 (for instance, you will have run this if you installed [http://www.libisis.org/Homer_Gui_setup stand alone Homer]. Run the file and follow the onscreen instructions.
+
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.
  
  
Line 81: Line 72:
 
===Set Up Examples===
 
===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 the mslice_setup_examples.exe file must be run (in the standalone version) or type >> mslice_setup_examples. Do this once whenever the directory that mslice resides in is changed.  
+
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.  
  
  
Line 87: Line 78:
 
===Start Mslice===
 
===Start Mslice===
  
Double click the mslice.exe file located in the parent directory (the one the zip file was extracted to) or in Matlab simply type >> mslice. An example should appear 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.
+
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.

Revision as of 08:58, 4 September 2009

Download Mslice

Matlab Version 32 Bit

Windows Linux MacOS

Matlab Ver 7.1

Matlab 2006a

Matlab 2006b

Matlab 2007a

Matlab 2007b

Download either of the versions and

see "How to MEX MSlice".

Download either of the versions and

see "How to MEX MSlice".


Standalone Version 32 Bit

Windows Linux MacOS

MCRInstaller (Required)

MSlice Standalone for Windows

Not Available Not Available


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.


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.