Difference between revisions of "Mslice Quick Start"
m |
m |
||
Line 2: | Line 2: | ||
− | ===Version 2 | + | ===Version 2 Standalone 32 bit=== |
+ | {| {{Tablestyle}} | ||
+ | |- | ||
+ | ! {{Headcellstyle}} | Windows | ||
+ | !{{Headcellstyle}} | Linux | ||
+ | ! {{Headcellstyle}} | MacOS | ||
+ | |- | ||
+ | | | ||
+ | [http://download.libisis.org/kits/MCRInstaller MCRInstaller (Required)] | ||
− | * Download the latest mslice build for your version of matlab | + | [http://download.libisis.org/kits/mslice_standalone.zip MSlice Standalone for Windows] |
+ | |||
+ | | Not Available | ||
+ | | Not Available | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===Version 2 Matlab - 32 bit=== | ||
+ | |||
+ | |||
+ | * Download the latest mslice build for your version of matlab | ||
* For 64 bit systems see "how to MEX" below. | * For 64 bit systems see "how to MEX" below. | ||
Line 71: | Line 91: | ||
==Setup== | ==Setup== | ||
− | ===Version 2=== | + | ===Version 2 Matlab=== |
* 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 a directory of your choice eg <tt>'''X:\analysis'''</tt> | ||
* Open your startup.m file, if it does not exist then create it in the folder that matlab starts | * Open your startup.m file, if it does not exist then create it in the folder that matlab starts | ||
Line 80: | Line 100: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | + | ===Version2 Standalone=== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
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 onscreen instructions. | 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 onscreen instructions. | ||
Line 121: | Line 116: | ||
− | == | + | ===Version 1=== |
+ | |||
+ | Follow the [http://www.isis.rl.ac.uk/excitations/index.htm?content_area=/excitations/software.htm&side_nav=/excitations/excitationsSideNav.htm& online guide here]. | ||
− | |||
+ | ==Using Mslice== | ||
− | == | + | The [http://www.isis.rl.ac.uk/excitations/index.htm?content_area=/excitations/software.htm&side_nav=/excitations/excitationsSideNav.htm& Version 1 Online Guide] gives a good overview of how to use Matlab. Look back here for a more comprehensive guide in the future. |
− | + | Two versions of mslice exist. The Matlab version can be run on any version of Matlab above 7.1, while a standalone version will run on any computer. The quick guide below demonstrates how to set up both versions. |
Revision as of 10:49, 4 September 2008
Download Mslice
Version 2 Standalone 32 bit
Windows | Linux | MacOS |
---|---|---|
Not Available | Not Available |
Version 2 Matlab - 32 bit
- Download the latest mslice build for your version of matlab
- For 64 bit systems see "how to MEX" below.
Windows | Linux | MacOS |
---|---|---|
Download either of the versions for windows and self-compile - See how to MEX below | Download either of the versions for windows and self-compile - See how to MEX below |
Version 1
This version is for use with earlier releases of Matlab and does not have the full functionality of version 2.
Windows |
---|
How To MEX
If using an operating system that does not currently have a release of mslice, then you can MEX mslice yourself (if possible). You need to have:
- g95 Fortran compiler (or equivalent) OR Intel Fortran Compiler that is compatible with your version of Matlab.
- Matlab 7.1 or above
To MEX the files yourself:
- Download any Windows version 2 distribution of mslice and unzip to a folder of your choice.
- Follow the setup instructions below.
- Open Matlab
- Type mex -setup and select either the g95 or intel fortran compilers
- Type >> mslice_mex('bit') where bit is either 32 for a 32 bit system or 64 for a 64 bit system.
Follow the instructions below to setup mslice.
Setup
Version 2 Matlab
- 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 create it 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
Version2 Standalone
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 onscreen 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 the set_up_examples.exe file must be run once whenever the directory that mslice resides in is changed.
Use Mslice
Double click the mslice.exe file located in the parent directory (the one the zip file was extracted to). 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.
Version 1
Follow the online guide here.
Using Mslice
The Version 1 Online Guide gives a good overview of how to use Matlab. Look back here for a more comprehensive guide in the future.
Two versions of mslice exist. The Matlab version can be run on any version of Matlab above 7.1, while a standalone version will run on any computer. The quick guide below demonstrates how to set up both versions.