Hello Jerry,
I just had the same problem.
In NXP_Support_Package_S32K3xx.m, replace these lines :
result(i) = contains(toolboxes(i).Name, 'NXP_MBDToolbox_S32K3xx');
with: if isempty(toolboxes(i).Name)
else
result(i) = contains(toolboxes(i).Name, 'NXP_MBDToolbox_S32K3xx');
end
In my case, it seems like the toolboxes variable had an empty member, which caused the error.
AlexCloutierDyname_0-1753212718436.png
You need to do this replacement three times in the .m.
Hope this helps,
Alex