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!