Closed AkashJohnSubash closed 4 months ago
Hi @AkashJohnSubash ,
setup-matlab@v2 now requires specifying any products that the build requires beyond MATLAB.
You may need to update your CI .yml file to specify the products required. The products parameter takes a space-separated list of products. Spaces in the product names should be replaced with underscores (see the README for a full explanation and examples). Here is an example that includes Simulink and Simulink Test:
- name: Setup MATLAB
uses: matlab-actions/setup-matlab@v2
with:
products: Simulink Simulink_Test
Hi @davidbuzinski ,
thanks for clarifying that. I did have a look at the Readme earlier but wasn't aware that the Simulink headers were no longer downloaded implicitly. Thanks, this did the trick and fixed my problem
To use the cache feature, I updated my workflow to use setup-matlab@v2 from setup-matlab@v1 However, with v2 the Simulink Test workflow fails since simstruct.h cannot be found.