Run COSSAN-X (Stand Alone Engine)

From COSSAN Wiki
Jump to: navigation, search

Prerequisite

Matlab.png MATLAB compiler Runtume (MCR)

Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you have installed version 7.13 (R2010a)

If the MCR is not installed, run MCRInstaller, provided in the COSSAN-X demo package then follow the instruction on the screen


Start COSSAN

Linux.png start the shell script run_CossanEngine.sh

non-interactive mode

./run_CossanEngine.sh <mcr_root> <input_script> <output_file>

interactive mode

./run_CossanEngine.sh


Mac.png start the shell script run_CossanEngine.sh

non-interactive mode

./run_CossanEngine.sh <mcr_root> <input_script> <output_file>

interactive mode

./run_CossanEngine.sh


Windows.png CossanEngine.exe

interactive mode:

double-clicking on the file CossanEngine.exe

batch execution

run CossanEngine.exe <input_script> <output_file>


Definitions

MCR

MATLAB Compiler uses the MATLAB Compiler Runtime (MCR), which is a standalone set of shared libraries that enable the execution  of M-files. The MCR provides complete support for all features of&nbsp MATLAB without the MATLAB GUI. For more information about the MCR, see the MATLAB Compiler documentation.

<mcr_root> 

is the directory where MCR is installed on the target machine.

<input_script>

is a matlab script to be execute by COSSAN-X. 

<output_file>

is the filename of the output (matlab) file

 Files in the package Cossan (CossanDemo)

  • CossanEngine (Cossan application)
  • run_CossanEngine.sh (shell script run to temporarily set environment variables and execute the application)
  • MCRInstaller.bin (Matlab compiler runtime)
  • Readme.txt


See also