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

79 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Julia Antoniou
Julia Antoniou am 1 Feb. 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
  14 Kommentare
Fumi_Maru
Fumi_Maru am 4 Mai 2023
I'm glad to hear it's helping a lot of people!!
Claudio Brito
Claudio Brito am 6 Sep. 2023
Thank you, it worked for me as well!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Arthur Preuss
Arthur Preuss am 7 Jun. 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.

Produkte

Community Treasure Hunt

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

Start Hunting!