AutomatedD​rivingRada​rSimulatio​nExample does not work, due to helperAuto​DrivingRad​arSigProc>​setupScena​rio

4 visualizaciones (últimos 30 días)
Hi, experts,
I am using R2024a and trying to run the example of AutomatedDrivingRadarSimulationExample by running the two commands below in the Command Window of matlab, but got error messages:
>> openExample('driving_radar/AutomatedDrivingRadarSimulationExample')
>> AutomatedDrivingRadarSimulationExample
Please see the error messages below. Any idea why?
***************** Below is the output from "Command Window" of matlab ****************************
>> openExample('driving_radar/AutomatedDrivingRadarSimulationExample')
>> AutomatedDrivingRadarSimulationExample
hpbw =
17.1800
drivingScenario requires Automated Driving Toolbox.
Error in helperAutoDrivingRadarSigProc>setupScenario (line 53)
scenario = drivingScenario;
Error in helperAutoDrivingRadarSigProc (line 12)
[scenario,egoCar,radarParams,tgts] = setupScenario(varargin{:});
Error in AutomatedDrivingRadarSimulationExample (line 138)
helperAutoDrivingRadarSigProc('Setup Scenario',c,fc);
***************** Above is the output from "Command Window" of matlab ****************************
  1 comentario
Saurabh
Saurabh el 22 de Ag. de 2024
Hi there, Xuedong
The error message suggests that the "drivingScenario function needs the automated driving toolbox." It appears that you are attempting to execute a documentation example that calls for particular toolboxes.
Make sure the "radar toolbox" and the "automatic driving toolbox" are installed. The example cannot be run without these toolboxes.
For automated driving, radar signal simulation and processing can be found at https://www.mathworks.com/help/radar/ug/radar-signal-simulation-and-processing-for-automated-driving.html
To verify installed toolboxes, run the following MATLAB command:
>> ver
Installing the toolboxes via the MATLAB Add-On Explorer is an option if any are missing.

Iniciar sesión para comentar.

Respuesta aceptada

Naga
Naga el 21 de Ag. de 2024
Editada: Naga el 21 de Ag. de 2024
Hello Xuedong,
It looks like you're trying to run a documentation example that requires specific toolboxes, and you've encountered an error indicating that the "drivingScenario function needs the Automated Driving Toolbox".
Ensure that both the Automated Driving Toolbox and the Radar Toolbox are installed. These toolboxes are essential for running the example. Refer to the documentation for the details on requirements for this example:
You can check installed toolboxes by executing the following command in MATLAB:
>> ver
Look for "Automated Driving Toolbox" and "Radar Toolbox" in the list of installed products. If any of these toolboxes are missing, you can install them via the MATLAB Add-On Explorer:
  1. Go to the MATLAB Home tab.
  2. Click on "Add-Ons" and select "Get Add-Ons".
  3. Search for the required toolboxes and install them.
After installing the toolboxes, restart MATLAB to ensure all changes take effect.Once the toolboxes are installed and licenses are confirmed, try running the example again with the
Hope this address your query.
  1 comentario
Xuedong
Xuedong el 21 de Ag. de 2024
Thanks a lot, Naga.
Yes, you are right. "Automated Driving Toolbox" was missing in my matlab installed. After re-installing matlab, the problem is gone. I can run the example without any error messages.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by