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.

AWR1642: Gesture Swipe MATLAB gui

Part Number: AWR1642

Hi Experts, 

I am trying to run the MATLAB gui (gesture_recog_swipe_gui) from the "mmwave_industrial_toolbox_2_5_2".

I am changing one of the CLI command of the file "profile_2d_gesture_128" (present in the gui directory of the swipe lab).

But when I run the gui application, it sends the old command from the file profile_2d_gesture_128.cfg and not the modified command.

Why is it so?

Is there any need of rebuilding the gui application ? Please clear my understanding. 

Regards,

Varsha

  • Ideally matlab script/exe takes the input parameter as cfg file name and use that file to send configuration to device.
    Create a copy of same file with different name and changed config data. Try running this exe providing new cfg file name.

    Regards,
    Jitendra
  • Hi Jitendra,

    Here are the trials which we did:

    1. Changed the content of the cfg file and the file name is same. When Running exe the commands passed are from the old cfg unchanged file.
    2. Created new file with changes in it. Modifed the input parameter i.e mmw_demo command in "run_demo_dbl_swipe.m" . But this also takes the old cli commands, not from the new file.


    As per your response:
    "Create a copy of same file with different name and changed config data. Try running this exe providing new cfg file name."

    Where to change the cfg file name? In the "run_demo_dbl_swipe.m" files provided, right? After changing the .m files, there is a need to run them using Matlab license?


    Regards,
    Varsha
  • Looks like while creating the exe from Matlab script it may have embedded .cfg file as well, due to that chaning cfg file doesn't make any effect.
    You need to either use *.m file to run the script with different cfg file (in run_demo_dbl_swipe.m) or create exe out of these matlab script, and yes it may require Matlab license.

    Regards,
    Jitendra