Error message indirectly related to a hidden SignalConversion block

54 vues (au cours des 30 derniers jours)
Kholood Alnowaiser
Kholood Alnowaiser le 4 Août 2022
Hello,
I am running into the following error messages in a Simulink model (MATLAB R2022a, Windows Server 2019, 64-bit):
Invalid output port data type. Data type of output port 1 of 'LFRefMdl/Estimate Lane Center/Center from Left and Right/Center' is invalid. This error message is indirectly related to a hidden SignalConversion block.
This block is added for block 'LFRefMdl/Estimate Lane Center/Center from Left and Right/Center' at input port 1 as result of block insertion or expansion. The hidden block's parameter 'Output' is set to 'Virtual bus' Consider manually inserting such a block to debug the problem.
Component:Simulink | Category:Model error
An error occurred while propagating data type 'double' from 'LFRefMdl/Estimate Lane Center/Center from Left and Right/Center', input port 1. This error message is indirectly related to a hidden SignalConversion block.
This block is added for block 'LFRefMdl/Estimate Lane Center/Center from Left and Right/Center' at input port 1 as result of block insertion or expansion. The hidden block's parameter 'Output' is set to 'Virtual bus' Consider manually inserting such a block to debug the problem.
The error message appeared after I replaced an MPC Controller block with a Fuzzy Logic Controller block.
It is not clear to me where or why this error is generated. Any ideas?
Thanks!
Kholood

Réponses (1)

Yasin Abughrara
Yasin Abughrara le 10 Nov 2022
This typically arise from unmatched data types defination. Most likely you have a bus that specify a particular data type and you are passing a differnt one into it.
hope that helps!
  1 commentaire
Kholood Alnowaiser
Kholood Alnowaiser le 14 Nov 2022
Thank you for your answer, Yasin. You are right. I was able to solve the issue with the help of MathWorks technical support team. The solution involved replacing 'single' with 'double' in several instances and functions.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Fuzzy Logic in Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by