fatal error: rtiostream_utils.h: No such file or directory

46 vues (au cours des 30 derniers jours)
Fumi_Maru
Fumi_Maru le 4 Juin 2017
Commenté : Yuxin Qu le 2 Juil 2024
I have a trouble when I deploy my Simulink model to Raspberry Pi 3 hardware.
My Model works just fine in EXTERNAL MODE.
Just after running on EXTERNAL MODE, I deployed to the hardware.
Then, the error occurs.
I thought that the error is because "rtiostream_utils.h" is missing guessing from the error log.
I searched on the internet and there were some people that has the same problem.
I also went to the last part of the link below. "Software Interface Model Fails to Build". https://jp.mathworks.com/help/supportpkg/usrpembeddedseriesradio/ug/troubleshooting-hardware-software-co-design.html
When I deploy to the hardware, the simulation mode in the pull down window is "external".
Please give me some idea to solve this problem.
If you need any more information, please feel free to ask me.
I will be looking forward to hear from you soon.
Thank you.

Réponse acceptée

Julia Antoniou
Julia Antoniou le 1 Fév 2018
Hi Fumi,
I was running into the same error when trying to deploy my model to hardware after previously running it successfully on external mode. I was able to resolve the error by changing my active configuration set. To do this:
1) In your Simulink model, go to View > Model Explorer > Model Explorer
2) In the left "Model Hierarchy" pane, select your model.
3) In the middle pane, see if "External Mode Configuration" is active (the icon will be green). If so, right click on the other listed configuration, and select "Activate". For me, this other configuration was just named "Configuration". This is what my model explorer looked like after activating the other configuration set:
4) Once I changed the simulation mode back to "normal" and tried building my model, the error was resolved.
Hope this helps!
-Julia
  15 commentaires
Claudio Brito
Claudio Brito le 6 Sep 2023
Thank you, it worked for me as well!
Yuxin Qu
Yuxin Qu le 2 Juil 2024
Thank you!

Connectez-vous pour commenter.

Plus de réponses (1)

Arthur Preuss
Arthur Preuss le 7 Juin 2018
It solved my problem, thank you a lot!
I was actually able to run on external model, when suddenly it stopped being able to compile. Than I followed these steps and it worked well in external mode again.

Produits

Community Treasure Hunt

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

Start Hunting!