Hi,
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"
- simulate
I have seen a similar error here:
"https://community.nxp.com/message/1038298?commentID=1038298#comment-1038298"
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.
Thanks,
Matteo
Hi matteo.vit@starwaredesign.com,
Please revert the Simulation Mode to Normal and try again.
When you are running a Model block PIL simulation (using a PIL simulation referenced model) you need to use the Normal simulation mode. You can read more about the PIL simulation modes supported by Simulink here [1], [2], [3].
Please have a look. Is this similar with the other PIL issues we have on KV ?