Serial Configuration: The selected port is not configured

9 visualizaciones (últimos 30 días)
Marie Ritter
Marie Ritter el 9 de Feb. de 2024
Respondida: Muskan el 19 de Feb. de 2024
I want to generate code with the Embedded Coder. My Simulink Model has a Serial Receiver and Serial Configuration Block. If I simulate (press on run) in Simulink everything is working. If I generate code I get the error message: The selected port is not configured. Use Serial Configuration block to configure the port. I am using the port and the simulation is working and the transmitted data is shown correct. Does anyone knows how to solve this error message, that I can generate code?

Respuestas (1)

Muskan
Muskan el 19 de Feb. de 2024
Hi Marie,
You can refer to the below documentation of "Troubleshooting Serial Port Interface" for a better undertanding of the issue:
I hope this helps!

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by