Error message indirectly related to a hidden SignalConversion block

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

Antworten (1)

Yasin Abughrara
Yasin Abughrara am 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 Kommentar
Kholood Alnowaiser
Kholood Alnowaiser am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Fuzzy Logic in Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by