AutomatedDrivingRadarSimulationExample does not work, due to helperAutoDrivingRadarSigProc>setupScenario
조회 수: 4 (최근 30일)
이전 댓글 표시
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
Saurabh
2024년 8월 22일
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.
채택된 답변
Naga
2024년 8월 21일
편집: Naga
2024년 8월 21일
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:
- Go to the MATLAB Home tab.
- Click on "Add-Ons" and select "Get Add-Ons".
- 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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Downloads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!