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 819e78d commit 4a825d3Copy full SHA for 4a825d3
test/tools/RunMLX.m
@@ -32,7 +32,9 @@ function runMLXFile(testCase)
32
33
% Make sure that all Simulink models are closed while
34
% everything is still on the path.
35
- testCase.addTeardown(@() bdclose("all"))
+ if ~isempty(ver("simulink"))
36
+ testCase.addTeardown(@() bdclose("all"))
37
+ end
38
39
% Go into a temporary folder, just in case the chapter file
40
% download / creates any files.
0 commit comments