Hi,everyone:
when I run the PIL example(sim_pil_top_AMMCLIB_mpc574x),a error has occurred:
An error occurred while calling into the SIL or PIL target connectivity implementation.
Caused by:
C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>set MATLAB=D:\MATLAB\R2020a
C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>"D:\MATLAB\R2020a\bin\win64\gmake" -f sim_pil_tg_AMMCLIB_mpc574x.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING NOT_PEDANTIC=1 OPTS="-DTID01EQ=0 -DPROFILING_DEFINE_UINT64_TIMER_TYPE -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T"
sim_pil_tg_AMMCLIB_mpc574x.mk:722: *** multiple target patterns. Stop.
My board is MPC5744P RevE, have you ever had a similar problem,how to solve it?
Thank you
解決済! 解決策の投稿を見る。
Hi, @henryex2009
The problem is the space character in MATLAB Add-Ons in toolbox installation path:
C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx
To fix it, you can try the following approach:
5.Restart MATLAB
Let me know if this worked.
Best regards,
Stefan.
Hello, @henryex2009
This appears to be a MATLAB bug. To fix this problem, try to reinstall MATLAB in a location that has no spaces in the path.
Best regards,
Stefan.
Hello,@stefancinipeanu
My matlab is installed in "D:\MATLAB\R2020a",is this correct?
Hello, @henryex2009
It looks like MATLAB is installed correctly. Could you check the toolbox installation path?
Hi,@stefancinipeanu
My toolbox is installed at "C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx".
Hi, @henryex2009
The problem is the space character in MATLAB Add-Ons in toolbox installation path:
C:\Users\Administrator\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_MPC57xx
To fix it, you can try the following approach:
5.Restart MATLAB
Let me know if this worked.
Best regards,
Stefan.
Hi, Stefan,
Yes, the PIL model is running successfully, Thank you for your help.
Best regards,
Henry
Hi,everyone:
when I run the PIL example(sim_pil_top_AMMCLIB_mpc574x),a error has occurred:
An error occurred while calling into the SIL or PIL target connectivity implementation.
Caused by:C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>set MATLAB=D:\MATLAB\R2020a
C:\Users\Administrator\Desktop\MPC5744test\slprj\mbd_mpc574x\sim_pil_tg_AMMCLIB_mpc574x\pil>"D:\MATLAB\R2020a\bin\win64\gmake" -f sim_pil_tg_AMMCLIB_mpc574x.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING NOT_PEDANTIC=1 OPTS="-DTID01EQ=0 -DPROFILING_DEFINE_UINT64_TIMER_TYPE -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DCODE_INSTRUMENTATION_ENABLED=1 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T"
sim_pil_tg_AMMCLIB_mpc574x.mk:722: *** multiple target patterns. Stop.My board is MPC5744P RevE, have you ever had a similar problem,how to solve it?
Thank you
I was facing the same, Did you found any solution for that?
Hi,the problem is still unsolved.