Page History
...
- scriptLanguage - name of the scripting language in which the application is written. Currently only one language is available:
- MATLAB - MATLAB programming language. This applies also to Octave applications
- executableScriptName - name of the application executable file
- functionName - name of main function used to execute the application
- inputFiles (Optional*) - input files that are needed by the application. For each input file defined here, the application panel will show a button to choose the location of that file. When the application is run, the input files will be read into a MATLAB variables and passed as arguments to the main executable function in the order in which they appear here. Each input file is defined by:
- dataType - data type of the input (see Data Types section below)
- typeLabel (Optional*) - a name distinguishing this input file from others. Allows to have multiple input files with the same data type. Each input file with different type label will be treated as a separate input and be passed to the main function as a separate argument
- multiplicity (Optional* - by default set to 1 if field is not present in the file) - how many inputs of that type are expected (written as string value). Defines minimum required number and maximum allowed number of inputs. The portal validates if the user selected the correct number of input files, and if not, it will not allow the user to run the application. Depending on what multiplicity is given the input(s) might be passed to the main function in a different way (see Handling custom multiplicity in input files section). The possible values are:
- ? - zero or one. The input is optional, there can be at most one input file
- * - zero or more. The input is optional and there is no upper limit of how many input files there can be
- + - one or more. At least one file is required and there is no upper limit of how many input files there can be
- n - exactly n input files are expected - no more, no less
- [n, m] - there should be at least n input files and at most m input files
- inputParameters (Optional*) - simple input parameters that should be entered by the user. For each parameter defined here, the application panel will show input form where the user can enter the value of the parameter. When the application is run, the parameters' values will be passed as arguments to the main executable function in the order in which they appear here. The parameter arguments are added after arguments specified by input files (see section Executable Script). When adding a parameter you have to specify what kind of value it should have. The available options are:
- TEXT - a text value
- BOOLEAN - a true or false value
- DOUBLE - a real number value
- INTEGER - an integer value
- TIME - a date value
The screen-shot below shows how the input parameters will appear when they are presented as input forms in the application panel
...
Overview
Content Tools