I'm trying to "Build, Deploy, & Restart" the following example from the NXP S32K1xx MBD Toolbox:
extmode_s32k1xx_toolbox_example.png
Starting "Build, Deploy, & Restart" as follows:
extmode_s32k1xx_2_build-deploy-and-start-button.png
It builds successfully, but I get the following error in the next phase Deploy, & Restart"
extmode_s32k1xx_2_monitor-and-tune-error.png
The file it complains cannot be found is plainly present in the build output folder:
extmode_s32k1xx_2_buildinfo-mat-exists.png
I've also noticed the Model Properties has "PreLoadFcn" and "PostSaveFcn" defined:
extmode_s32k1xx_model-properties.png:
The functions called are p-files that are not editable and that have no help available:
>> which mbd_s32k_examples_preload_cbk
C:\Users\T5810\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\mbdtbx_s32k\mscripts\utils\mbd_s32k_examples_preload_cbk.p
>> help mbd_s32k_examples_preload_cbk
mbd_s32k_examples_preload_cbk is a script.
Could these toolbox function calls be responsible for properly setting the search path for the build?
What is their purpose? Are they required to run a model in extremal mode?
They the presence of these function calls is invisible, unless someone inspects Model Properties.
In any case, can anyone suggest how o troubleshoot or work-around the "Build, Deploy, & Restart" error?
Thanks