matlab-actions / .github

Automate your workflows with GitHub actions for MATLAB.
65 stars 2 forks source link

MATLAB functions not available in macos #12

Closed marouenbg closed 2 years ago

marouenbg commented 2 years ago

I am testing netZooM https://github.com/netZoo/netZooM/ through MATLAB actions using macos and ubuntu as runners. In Ubutu everything works fine, however, in macos-latest (11 I think), MATLAB does not recognize the functions (corr, datasample, and zscore) e.g.,

failure: Undefined function 'zscore' for input arguments of type 'double'.

Here is my yaml file: https://github.com/netZoo/netZooM/actions/runs/2674143446/workflow

Thank you

mcafaro commented 2 years ago

Hi @marouenbg,

setup-matlab does not include any toolboxes on macOS and Windows at the moment. See https://github.com/matlab-actions/setup-matlab/issues/18#issuecomment-1006990188. corr, datasample, and zscore are part of the Statistics and Machine Learning Toolbox.

We would like to include toolboxes on these platforms in the future but current macOS and Windows support is targeted mostly at folks that need to compile MEX and S-functions.

Best, Mark

marouenbg commented 2 years ago

Thank you @mcafaro, it would be great for us to have these toolboxes on Macos because most of our users are on that platform. I also understand that I can set a hosted runner using my license, but MATLAB-actions is very convenient so far!

Thank you, Marouen