필터 지우기
필터 지우기

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

조회 수: 6 (최근 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