Hello,
I am trying to send record command to mmWave studio over Matlab. Since I am running my matlab script several times in a loop, I want to pass data path and file name for adc_data.
I tried the solution suggested in this thread.
However, mmWavestudio throw the following error:
[09:22:29] &&&&&&&&&&&&&&&&&&&& [09:22:29] ***Script FAILED!*** [09:22:29] &&&&&&&&&&&&&&&&&&&& [09:22:29] Script: "xw_status=mws.captureCardStartRecord("C:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\PostProc\adc_data_2.bin", 1, 1, 4096)" [09:22:29] Exception message is: [09:22:29] [string "chunk"]:1: attempt to index global 'mws' (a nil value)
and my matlab script for that part is as follow
Lua_String = sprintf('xw_status=mws.captureCardStartRecord("%s", 1, 1, 4096)',filename); ErrStatus =RtttNetClientAPI.RtttNetClient.SendCommand(Lua_String); pause(1);
I could not figure it out. I hope you can help me
Regards