Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tclose opened this issue Apr 28, 2025 · 1 comment
Labels
feature Feature requests hackathon

Comments

@tclose
Copy link
Contributor

tclose commented Apr 28, 2025

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
"""
)
@tclose tclose converted this from a draft issue Apr 28, 2025
@tclose tclose added enhancement New feature or request feature Feature requests and removed enhancement New feature or request labels Apr 29, 2025
@tclose tclose moved this from Proposed to temp in Pydra Roadmap Apr 29, 2025
@tclose tclose moved this from temp to To do (v1.0) in Pydra Roadmap Apr 29, 2025
@effigies
Copy link
Contributor

1.1. Cool, but not critical.

@tclose tclose moved this from Triage to v1.1-v1.2 in Pydra Roadmap May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature requests hackathon
Projects
Status: v1.1-v1.2
Development

No branches or pull requests

2 participants