Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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)

Antworten (1)

Simone
Simone am 18 Mär. 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 Kommentare
Berkay AYDIN
Berkay AYDIN am 14 Apr. 2024
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 am 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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by