Difference between revisions of "Download and setup MSlice"

From Mslice
Jump to navigationJump to search
 
(53 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
===Standalone Version 32 Bit===
 
 
 
* Originally developed by '''[[Radu Coldea]]''' with minor alterations by ISIS. Contact [[User:Toby Perring|Toby Perring]] for support.
 
  
 +
===Matlab Versions ===
  
 
{| {{Tablestyle}}
 
{| {{Tablestyle}}
Line 15: Line 12:
 
|-
 
|-
 
|
 
|
[http://download.libisis.org/kits/MCRInstaller MCRInstaller (Required)]
+
'''Recent working release (32 and 64 bit version):''' ''(that is what you probably want)''
  
[http://download.libisis.org/kits/mslice_standalone.zip MSlice Standalone for Windows]
+
[http://download.libisis.org/kits/mslice_distribution_kit_2021.zip Matlab 2016b-onwards]  
  
| Not Available
+
''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 successfully works without mex files, but you may want to mex Mslice to use it on an old computer, where the gain in performance due to mex files can still be essential. The page "[[How to MEX MSlice]]" describes the ways to do that.  Modern computers (I5 and higher, 4Gb of RAM) are fast enough to process data without mex files.''
| Not Available
 
|}
 
  
 +
|
 +
Download recent version and
  
 +
see "[[How to MEX MSlice]]".
 +
|
 +
Download recent version and
  
 +
see "[[How to MEX MSlice]]".
 +
|}
  
===Matlab Version 32 Bit===
+
===Standalone Versions ===
 
 
 
 
* 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.
 
  
  
Line 41: Line 38:
 
|-
 
|-
 
|
 
|
[http://download.libisis.org/kits/mslice_win32_1.zip Matlab Ver 7.1]
+
'''Current releases:'''
  
[http://download.libisis.org/kits/mslice_win32_1.zip Matlab 2006a]
+
[http://download.libisis.org/kits/mslice_standalone_kit_June2013_win32.zip MSlice Standalone for Windows 32bit (June 2012) (with proper MCRInstaller)]
  
[http://download.libisis.org/kits/mslice_win32_2.zip Matlab 2006b]
+
[http://download.libisis.org/kits/mslice_standalone_kit_June2013_win64.zip MSlice Standalone for Windows 64bit (June 2013) (with proper MCRInstaller)]
  
[http://download.libisis.org/kits/mslice_win32_2.zip Matlab 2007a]
+
'''Old (compartibility) release:'''
  
[http://download.libisis.org/kits/mslice_win32_2.zip Matlab 2007b]  
+
[http://download.libisis.org/kits/MCRInstaller.exe MCRInstaller (Required for old Windows 32 bit Mslice)]
  
|
+
[http://download.libisis.org/kits/mslice_standalone.zip MSlice Standalone old for Windows 32 bit]
Download either of the versions and
 
  
see "[[How to MEX MSlice]]" if you have a compiler.
 
 
|
 
|
Download either of the versions and
+
[http://download.libisis.org/kits/mslice_standalone_kit_Aug2010_glnxa64.zip  MSlice Standalone for RHEL 64bit (Aug 2010) (with proper MCRInstaller)]
  
see "[[How to MEX MSlice]]" if you have a compiler.
+
''Not Tested so try it on your own risk''
 +
| Not Available
 
|}
 
|}
  
==Setup==
+
==Set Up==
  
 
===Matlab Version===
 
===Matlab Version===
* Unpack this file into <tt>'''C:\mprogs'''</tt> or a directory of your choice eg <tt>'''X:\analysis'''</tt>
+
* Unpack this file into <tt>'''C:\mprogs'''</tt> or in a directory of your choice eg <tt>'''X:\ISIS'''</tt>
* Open your startup.m file (if it does not exist, then startup.m in the folder that matlab starts)
+
* 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
 
* Add the following lines to the startup.m file
  
 
<pre>addpath('c:\mprogs\mslice') % where c:\mprogs\mslice is the folder you unzipped mslice into
 
<pre>addpath('c:\mprogs\mslice') % where c:\mprogs\mslice is the folder you unzipped mslice into
 
mslice_init </pre>
 
mslice_init </pre>
 
 
  
 
===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.
+
Unpack the archive into the directory of your choice keeping the structure of folders you find within the archive.
 
 
 
 
  
===Set Up Examples===
+
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.
  
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.
+
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===
 
===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.

Latest revision as of 14:49, 27 February 2021

Download Mslice

Matlab Versions

Windows Linux MacOS

Recent working release (32 and 64 bit version): (that is what you probably want)

Matlab 2016b-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 successfully works without mex files, but you may want to mex Mslice to use it on an old computer, where the gain in performance due to mex files can still be essential. The page "How to MEX MSlice" describes the ways to do that. Modern computers (I5 and higher, 4Gb of RAM) are fast enough to process data without mex files.

Download recent version and

see "How to MEX MSlice".

Download recent version and

see "How to MEX MSlice".

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.