You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This page describes the convention for the PyWPS plugin to find and expose matlab processes.

Example

wpsprocess.m
function [output1,output2] = wpsprocess(input1, input2)
% WPSPROCESS one line comment on the basic functionality of this function 
%
% In this block important background information should be listed.
%

Finding processes

Matlab functions can be exposed as WPS processes. The processes are found by putting matlab scripts in the directory that is exposed by the environment variable MATLAB_PROCESSES (analogue to PYWPS_PROCESSES).
Matlab processes have the form of a matlab function, stored within a file with the name function.m.
The name of the function will be used as the identifier in WPS.

  • No labels