Skip to content

Commit 8f26ec1

Browse files
committed
matlabupgrade no run
1 parent fc4924c commit 8f26ec1

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

scripts/MatlabReleaseUpgrade.m

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,12 @@
1010
% * https://www.mathworks.com/matlabcentral/answers/2178694-mathworksupdateinstaller-and-r2025a-in-linux#answer_1568457
1111
% * https://www.mathworks.com/matlabcentral/answers/1815365-how-do-i-uninstall-and-reinstall-the-mathworks-service-host
1212

13-
function MatlabReleaseUpgrade(doUpgrade)
14-
arguments
15-
doUpgrade (1,1) logical = false
16-
end
13+
function MatlabReleaseUpgrade()
1714

1815
cmd = getUpgradePath();
1916

2017
fprintf("Matlab upgrade command:\n\n%s\n\n", cmd);
2118

22-
if doUpgrade
23-
s = system(cmd);
24-
assert(s == 0, "Return code %d", s)
25-
else
26-
disp("MatlabReleaseUpgrade(1) to install upgrade if available")
27-
end
28-
2919
end
3020

3121

0 commit comments

Comments
 (0)