Skip to content

Add function to run directly from MATLAB API - #205

Merged
StephenNneji merged 7 commits into
RascalSoftware:mainfrom
StephenNneji:run_matlab
Aug 24, 2026
Merged

StephenNneji merged 7 commits into
RascalSoftware:mainfrom
StephenNneji:run_matlab

Conversation

@StephenNneji

@StephenNneji StephenNneji commented May 12, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #181

The function should be called as below, it is expected that the user will provide their MATLAB API

problem, results = RAT.utils.matlab.run_matlab_directly(problem, controls, r"C:\Users\steve\Documents\MATLAB\RAT")

@StephenNneji

StephenNneji commented May 20, 2026 •

Copy link
Copy Markdown
Contributor Author

I refactored the function so it also accepts a dictionary because the project class cannot be pickled. I also add a call to useLivePlot for simplex and DE procedures. Added custom controls so IPC generated in Python can be used in MATLAB

@StephenNneji
StephenNneji force-pushed the run_matlab branch 2 times, most recently from 845782f to d8aa862 Compare May 20, 2026 14:28
@StephenNneji
StephenNneji merged commit 2e059b9 into RascalSoftware:main Aug 24, 2026
9 checks passed
@StephenNneji
StephenNneji deleted the run_matlab branch October 14, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify running projects which have Matlab custom models for users.

1 participant