Issue of running example of Adaptive Cruise Control Using Sensor Fusion Test Bench

2 ビュー (過去 30 日間)
Edward Cheng
Edward Cheng 2020 年 8 月 28 日
回答済み: Abhishek Kumar 2020 年 10 月 16 日
Dear all,
I cannot run this Adaptive Cruise Control on my maltab version 2020a but actually I can run this example smoothly on the 2018a version before I updated ,
Can anyone please help us out so that we can run this example.
The error is:
Invalid setting in 'ACCWithSensorFusionMdlRef/Tracking and Sensor Fusion/Tracks' for parameter 'OutDataTypeStr'.
Caused by:
Suggested Actions
Load a file into base workspace.Fix
Create a new variable.Fix
Component:Simulink | Category:Model error
Invalid setting in 'ACCWithSensorFusionMdlRef/Tracks' for parameter 'OutDataTypeStr'.
Caused by:
Suggested Actions
Load a file into base workspace.Fix
Create a new variable.Fix
Component:Simulink | Category:Model error
Any help is much appreciated
Regards,
Edward

回答 (1 件)

Abhishek Kumar
Abhishek Kumar 2020 年 10 月 16 日
Hi Edward,
By analysing the error report you are getting I can assess that a variable named ‘BusMultObjectTRacker1’ being used in your model is missing from base workspace and you need to declare the variable before using it.

Community Treasure Hunt

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

Start Hunting!

Translated by