Skip to content

Commit 9488e67

Browse files
committed
checking setup-matlab
1 parent 8c23132 commit 9488e67

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/DebugRuntimePathIssue.yml

+15-7
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,22 @@ jobs:
1111
runs-on: windows-latest
1212

1313
steps:
14-
- name: Download mpm
15-
run: |
16-
Invoke-WebRequest -Uri https://www.mathworks.com/mpm/win64/mpm -OutFile mpm.exe
14+
- name: Setup MATLAB
15+
uses: matlab-actions/setup-matlab@v2
16+
with:
17+
release: R2024a
18+
products: >
19+
MATLAB_Compiler_SDK
20+
MATLAB_Test
21+
22+
# - name: Download mpm
23+
# run: |
24+
# Invoke-WebRequest -Uri https://www.mathworks.com/mpm/win64/mpm -OutFile mpm.exe
25+
26+
# - name: Install MATLAB products
27+
# run: |
28+
# .\mpm.exe install --release=R2024a --destination="${{ github.workspace }}\MATLAB" --products=MATLAB_Compiler_SDK MATLAB_Test
1729

18-
- name: Install MATLAB products
19-
run: |
20-
.\mpm.exe install --release=R2024a --destination="${{ github.workspace }}\MATLAB" --products=MATLAB_Compiler_SDK MATLAB_Test
21-
2230
- name: Print system PATH
2331
run: echo $env:PATH
2432
shell: pwsh

0 commit comments

Comments
 (0)