We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b917b5 commit 8939cecCopy full SHA for 8939cec
toolbox/+vcpkg/getTargetTriplet.m
@@ -5,11 +5,9 @@
5
triplet = '';
6
7
if isMATLABReleaseOlderThan('R2026a') && ~isMATLABReleaseOlderThan('R2020b')
8
- try
9
- slrealtime.qnxSetupFcn;
+ spkgInfo = matlabshared.supportpkg.getInstalled;
+ if any(contains({spkgInfo.Name}, 'Simulink Real-Time Target Support Package'))
10
triplet = 'x64-qnx-static';
11
- catch
12
- % SLRT is not installed. Don't build for any target
13
end
14
elseif isMATLABReleaseOlderThan('R2020b')
15
triplet = 'x86-windows-static';
0 commit comments