UAV Guidance Model Data Type Miss Match Error

Error being displayed is:
"Data type mismatch. 'Input Port 1' of 'Control/Guidance Model/State' expects a signal of data type 'double'. However, it is driven by a signal of data type 'MultirotorGuidanceStateBus'"
The data error is coming from inside the UAV Guidance model, I have tried a data type converter both before and after the block, this has not removed the issue.
I am unable to edit the block to change the data type inside of it.
Image show where simulink belive the error to be inside the UAV Guidance Block

1 comentario

Jianxin Sun
Jianxin Sun el 1 de Mzo. de 2023
Hi Joel,
This might be related to the block connected to the output of the UAV Guidance Model block. The block outputs bus signal, and the downstream block connected to guidance model output port need to accept bus signal as well. Can you share the model connections between the guidance block and its downstream blocks?
Jianxin

Iniciar sesión para comentar.

Respuestas (0)

Productos

Versión

R2022b

Preguntada:

el 9 de Feb. de 2023

Comentada:

el 1 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by