Difference between revisions of "Download and setup MSlice"

From Mslice
Jump to navigationJump to search
Line 15: Line 15:
 
[http://download.libisis.org/kits/mslice_distribution_kit.zip  Matlab 2008b-onwards]  
 
[http://download.libisis.org/kits/mslice_distribution_kit.zip  Matlab 2008b-onwards]  
  
''The release is supplied with working 32 and 64 bit mex files for Windows and 32-bit Linux (built for Ubuntu 9.04) and has been tested against Matlab 2007b and above. It should work with any Matlab using mex files. In case of a problem or unsupported version you should look for ''"[[How to MEX MSlice]]"
+
''The release is supplied with working 32 and 64 bit mex files for Windows and 32-bit Linux (built for Ubuntu 9.04) and has been tested against Matlab 2008b and above. It should work with any later Matlab version using mex files. Mslice should also successfully work without mex files, but it is advised to mex Mslice to obtain approximately 10-fold gain in performance of calculation-extensive operations. The page ''"[[How to MEX MSlice]]" describes the ways to do that.
  
 
|  
 
|  

Revision as of 12:03, 6 October 2014

Download Mslice

Matlab Versions

Windows Linux MacOS

Recent working release (32 and 64 bit version): (that is what you probably want)<math>^1</math>

Matlab 2008b-onwards

The release is supplied with working 32 and 64 bit mex files for Windows and 32-bit Linux (built for Ubuntu 9.04) and has been tested against Matlab 2008b and above. It should work with any later Matlab version using mex files. Mslice should also successfully work without mex files, but it is advised to mex Mslice to obtain approximately 10-fold gain in performance of calculation-extensive operations. The page "How to MEX MSlice" describes the ways to do that.

Download recent version and

see "How to MEX MSlice".

Download recent version and

see "How to MEX MSlice".

<math>^1</math>Job is ongoing to downgrade Mslice to allow recent version working on Matlab 2007a and below. Please, contact development team if you urgently need this option.

Standalone Versions

Windows Linux MacOS

Current releases:

MSlice Standalone for Windows 32bit (June 2012) (with proper MCRInstaller)

MSlice Standalone for Windows 64bit (June 2013) (with proper MCRInstaller)

Old (compartibility) release:

MCRInstaller (Required for old Windows 32 bit Mslice)

MSlice Standalone old for Windows 32 bit

MSlice Standalone for RHEL 64bit (Aug 2010) (with proper MCRInstaller)

Not Tested so try it on your own risk

Not Available

Set Up

Matlab Version

  • Unpack this file into C:\mprogs or in a directory of your choice eg X:\ISIS
  • Open your startup.m file (if it does not exist, then type
  >>edit startup.m 

in the matlab window immediately after matlab started or save this file in the folder where 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

Unpack the archive into the directory of your choice keeping the structure of folders you find within the archive.

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.

After MATLAB components are installed, you can run mslice.exe

Examples

Some examples are included with the program. These are .msp files used by mslice to store locations of various mslice parameters and references to the required data plus the data themselves. After installation you can look through these examples choosing them from Parameters window and selecting examples from /Data directory, located below your mslice installation 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.