We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc4924c commit 8f26ec1Copy full SHA for 8f26ec1
scripts/MatlabReleaseUpgrade.m
@@ -10,22 +10,12 @@
10
% * https://www.mathworks.com/matlabcentral/answers/2178694-mathworksupdateinstaller-and-r2025a-in-linux#answer_1568457
11
% * https://www.mathworks.com/matlabcentral/answers/1815365-how-do-i-uninstall-and-reinstall-the-mathworks-service-host
12
13
-function MatlabReleaseUpgrade(doUpgrade)
14
-arguments
15
- doUpgrade (1,1) logical = false
16
-end
+function MatlabReleaseUpgrade()
17
18
cmd = getUpgradePath();
19
20
fprintf("Matlab upgrade command:\n\n%s\n\n", cmd);
21
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
28
-
29
end
30
31
0 commit comments