MATLAB Answers

Canot run Mathtworks example, "TrackVehi​clesUsingL​idarExampl​e.m"

1 view (last 30 days)
Professor Clark
Professor Clark on 28 Mar 2021
Answered: Shelby Reiches on 22 Jul 2021
I'm trying to follow Mathworks example for tracking an object with lidar. I have their Toolboxes ( evaluation).
I downloaded the example file and called the script. I receive the error below. I look at the line number referenced and see object "driving". I put all the example files into a working directory. "unable to resolve the name" Am I missing something basic?
Screen capture below
  1 Comment
Walter Roberson
Walter Roberson on 28 Mar 2021
I notice that your trial is R2020b; current MATLAB is R2021a. Possibly you are running a demonstration too new for the version you have.

Sign in to comment.

Answers (1)

Shelby Reiches
Shelby Reiches on 22 Jul 2021
Hi,
I understand that MATLAB R2020b is returning an error related to the driving.birdsEyePlot.internal.plotCoverageArea function when you run the script from the Track Vehicles Using Lidar: From Point Cloud to Track List example.
The plotCoverageArea function is part of Automated Driving Toolbox, and I was able to reproduce the error you encountered by running the example script without Automated Driving Toolbox enabled. If downloading Automated Driving Toolbox is an option, doing so should resolve your issue. Because the documentation for this example should list Automated Driving Toolbox as a requirement, I have brought this error to the attention of the documentation team.
Thank you,
Shelby

Community Treasure Hunt

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

Start Hunting!

Translated by