External Mode Open Protocol Connect command failed
Caused by:
The model that you are trying to run in External mode does not match the application running on your target. Checksum test (OPEN_PROTOCOL) failed. The host model’s structural checksum is [2526462847, 2787246958, 279442647, 1167683516] and the target application’s structural checksum is [3758715623, 2604559863, 3074017724, 3602092489]. Rebuild the model, run it on your target, and start External mode simulation again.
Component:Simulink | Category:Block diagram error
Unable to connect to the ‘Raspberry Pi’ target for
解决办法:删除树莓派中模型的相关文件
(一)查看文件目录
ls /home/pi/
(二)打开树莓派中的MATLAB文件目录
cd MATLAB_ws/R2020b
(三)删掉模型相关的elf,log
如:
rm -f CANComm_Gear_control.log