The model that you are trying to run in External mode does not match the application running on your target. Rebuild the model, run it on your target, and start External mode simulation again.

조회 수: 43 (최근 30일)
Everytime i try to simulate my model in external mode i get this error. I dont have an idea which changes are made in my code between deploying to hardware and the start of the simulation. Is there any chance to detect these changes with some kind of workspace comparison e.g?
  댓글 수: 3
Gayatri Menon
Gayatri Menon 2018년 6월 26일
Hi,
Which hardware are you using? Do you have this issue with simple models as well? If it is specific to your model, could you share the model?
Pascal Viertel
Pascal Viertel 2018년 6월 26일
편집: Pascal Viertel 2018년 6월 26일
Im using a raspberry pi 3B V2. Simple models work perfectly but unfortunately im not allowed to publish my actual model since its a university project. I read from this error a few times via google search and i dont think it is model specific.

댓글을 달려면 로그인하십시오.

답변 (1개)

Gayatri Menon
Gayatri Menon 2018년 6월 26일
Hi,
Could you try cleaning up all the files related to the model on the Raspberry Pi and MATLAB as mentioned below. Save the model before deploying and relaunch the model in External Mode and then check if you are facing the same error
1. Go to the home directory in Raspberry Pi, delete all folders and files generated corresponding to the model 2. In MATLAB Current Browser, delete the slprj and all generated project and .elf files corresponding to the model.
Also, check out the below MATLAB answer.
Thanks Gayatri
  댓글 수: 1
Pascal Viertel
Pascal Viertel 2018년 7월 2일
Thank you for answering my question. Unfortunately ive done anything you told me to do in the past already, and it didnt help.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by