We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d79061 commit eb91903Copy full SHA for eb91903
toolbox/+vcpkg/getTargetTriplet.m
@@ -6,7 +6,7 @@
6
7
if isMATLABReleaseOlderThan('R2026a') && ~isMATLABReleaseOlderThan('R2020b')
8
spkgInfo = matlabshared.supportpkg.getInstalled;
9
- if any(contains({spkgInfo.Name}, 'Simulink Real-Time Target Support Package'))
+ if ~isempty(spkgInfo) && any(contains({spkgInfo.Name}, 'Simulink Real-Time Target Support Package'))
10
triplet = 'x64-qnx-static';
11
end
12
elseif isMATLABReleaseOlderThan('R2020b')
0 commit comments