MATLAB Answers

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

2 views (last 30 days)
Edward Cheng
Edward Cheng on 28 Aug 2020
Answered: Abhishek Kumar on 16 Oct 2020
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

Answers (1)

Abhishek Kumar
Abhishek Kumar on 16 Oct 2020
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