Hey NXP support,
I'm having some issues getting the MDBT working with Matlab 2020a. Specifically, I'm trying to protect (as an slxp) a simulink model configured with S32K344 as the target hardware (and associated code generation settings). However it keeps trying to call the readstruct function, which was only introduced in later versions on Matlab. Apparently, it's the epc2map.p file where this call takes place. Is there a way to make it compatible with 2020a? I tried the steps described in the start-up guide - installing the Support Package for Arm Cortex-M and running the mbd_s32k3 scripts, but that doesn't seem to help. The same missing readstruct function is reported during the execution of these scripts, too.
I'm using version 1.3 of the toolbox and I'm having no issues protecting models and code-generating on Matlab 2022a (which is officially supported, I suppose).
Many thanks,
Cosmin