Skip to content

Implement a Matlab compose module (i.e. alongside python, shell and workflow) #803

Open
@tclose

Description

@tclose

Like the pydra.compose.python module, I have in mind that you could do something like

from pydra.compose import matlab

SquareNumber = matlab.define(
"""
function y = squareNumber(x)
% squareNumber - Squares the input number
%
% Syntax:
%   y = squareNumber(x)
%
% Input:
%   x (double) - A numeric value
%
% Output:
%   y (double) - The square of the input x
%
% Example:
%   result = squareNumber(3);
%
% See also: sqrt

    y = x^2;
end
"""
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    v1.1-v1.2

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions