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: Getting errors when running Matlab code

Part Number: AWR1642

I am trying to run the Matlab code 'setup.m' in people count project in mmwave industrial toolbox after flashing AWR1642 and getting some errors as follows

No appropriate method, property, or field 'UserData' for class 'matlab.graphics.GraphicsPlaceholder'.

Error in setup>btnConnect_Callback (line 264)
controlSerialPort = hUARTPort.UserData.strPort;

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in setup (line 42)
gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)setup('btnConnect_Callback',hObject,eventdata,guidata(hObject))

Error using uiwait (line 81)