I am using Matlab 2018a and MCD Toolbox for Kinetis V5 (latest) and when I try to run the PIL example (kv5xf_sim_pil_test), I get this error:
"Detected recursive call to slbuild, which might indicate invalid simultaneous model builds. If only one model build was in progress, and if you previously used dbquit while in the MATLAB debugger or pressed Ctrl-C during the build process, please restart the model build."
The sequence of operations is:
- Open the model kv5xf_sim_pil_test.mdl
- "Simulation->Mode->Processor-in-the-Loop (PIL)"
- "Tools->Freescale Motor Control Development Toolbox for MKV5xF->To PIL mode on MKV5xF"
I have seen a similar error here:
But the files seem specific for the MCD Toolbox for another microcontroller.
Is this due different Matlab version? I think the supported version is 2015B.