Automated Driving Toolbox give the too much input argument when use a fucntion of helperAutoDrivingRadarSigProc
6 views (last 30 days)
Show older comments
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)
0 Comments
Answers (1)
Simone
on 18 Mar 2024
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 Comments
Simone
on 15 Apr 2024
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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!