SIL on autosar composition, Different Types error

1 Ansicht (letzte 30 Tage)
Xiaohong shen
Xiaohong shen am 24 Jan. 2025
Kommentiert: Xiaohong shen am 20 Feb. 2025
I have an autsoar architecture model(autosar composition).
At first I created a test harness on the architecture model and wanted to make sil test. I got error it is not supported I shall set the SimulationMode of architecture model to normal and the SimulationMode of the autosar compome below to the SIL. I did it
Then I got the error Different types as below shown
I follow another way as mathwork proposal, Testing AUTOSAR Compositions
At the end I got the same error Different types with no any helpful info what going wrong :(
  2 Kommentare
Yash
Yash am 28 Jan. 2025
Hi Xiaohong,
This error is pretty undetailed. Also, it is very difficult to figure out what is happening without analysing the model. I think you should contact MathWorks Technical Support with your model and more details: https://www.mathworks.com/support/contact_us.html
Xiaohong shen
Xiaohong shen am 20 Feb. 2025
It was a bug in the code generation. After I forced Simulink to generate a global variable. The problem is solved. Anyhow it was not easy to find out where this error happend.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu AUTOSAR Blockset finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by