This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • TI Thinks Resolved

AWR1642BOOST: AWR1642BOOST

Part Number: AWR1642BOOST

Hi,

While running the Occupancy detection GUI for my AWR1642BOOST error is coming as :

Not enough input arguments.

Error in od_demo line (14)

MATLAB:minrhs 

Although I've run the gui many times, i am facing this problem for the very first time. Please support.

regards,

Nalini Singh

  • In reply to nalini singh:

    It is possible that the command line is too long and so Matlab is not seeing the last few parameters and throwing the error.  For Matlab, make the default folder the one containing od_demo.m, then doing this command:

    od_demo.m 5 6 chirp_configs\od_demo_car_0318_3p0.cfg 1 0

     -dave

  • In reply to db_woodall:

    Why are we getting this "not enough input arguments" when the program is itself downloaded from TI website and no modification has been made by us??

    How can this error be corrected??

    And this occurs in every version of automotive toolbox for Vehicle Occupancy Detection.

    Please support.

    Thanks.

    -nalini

  • In reply to nalini singh:

    Hi Nalini,

    Did you try my suggestion to shorten your command line?  Also, what version of Matlab are you running?  Version R2017a is required.

    I tried running my copy with fewer and fewer arguments (this is the 2.x automotive toolbox version).  It only throws the error if the third argument (the config filename) is not present, as it should.  I don't believe there's a problem with the code.

    I would check your Matlab version, and if correct, try setting a breakpoint on the first line of od_demo(), and step through the code, examining each variable along the way until it throws the error.

      -dave

  • In reply to db_woodall:

    Hi,

    Yes I've tried to shorten the command line but it still throws the same error.
    And I am using MATLAB version 2017b, is that a problem?
    I also tried running an older version of automotive toolbox i.e. 1_2_0 but still getting the same error.

    Not enough input arguments.
    Error in od_demo (line14)
    MATLAB:minrhs

    Thanks.
    -Nalini

  • In reply to nalini singh:

    Your original post says you've run the demo many times.  What changed when it stopped working?

    We don't have 2017b so I can't try it.  I googled the difference between 2017a/b and didn't find anything to explain differences in command line handling.

     -dave

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.