フィルターのクリア

Automated Driving Toolbox give the too much input argument when use a fucntion of helperAuto​DrivingRad​arSigProc

2 ビュー (過去 30 日間)
I try to simulate fmcw radar system when I use a autometed driving toolbox give the too much input argument error.Even I use a example code from matlab website it is give the same error mesage.
Error using helperAutoDrivingRadarSigProc
Too many input arguments.
Error in driving_sim (line 149)
helperAutoDrivingRadarSigProc('Setup Scenario',c,fc)

回答 (1 件)

Simone
Simone 2024 年 3 月 18 日
Hi,
the function you are referring to is a helper function used in the following example: https://www.mathworks.com/help/releases/R2024a/radar/ug/radar-signal-simulation-and-processing-for-automated-driving.html
If you open and run this example
openExample('driving_radar/AutomatedDrivingRadarSimulationExample')
AutomatedDrivingRadarSimulationExample
Is this example working for you?
Which MATLAB Version are you using? Did you create your own example and just wanted to use this helper function in your code? If yes: did you copy the helper function to your project? Did you check if it's correctly on search path?
You can check which version of the function is called using
which -all helperAutoDrivingRadarSigProc
Regards,
Simone
  2 件のコメント
Berkay AYDIN
Berkay AYDIN 2024 年 4 月 14 日
Hi,
Thanks for the answer. I currently use version 9.14 (R2023a).
This example works can I change the scenario on a .mlx file?
I look some examples on the internet and it gives the "Incorrect number or types of inputs or outputs for function 'actorProfiles'" error.
Regards,
Berkay
Simone
Simone 2024 年 4 月 15 日
Hi Berkay,
if the shipping example is working you can start modifying it. The scenario is created in the helperAutoDrivingRadarSigProc helper function and you can adjust it to your needs.
In the documentation of the example you can find information about the scenario generation in the "Simulate the Driving Scenario" section.
Regards,
Simone

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by