Matlab error when trying to read out Radar Tx_Power

Discussion in 'General' started by Terence, Jan 7, 2020.

  1. Terence

    Terence New Member

    Hi, I got errors in Matlab while trying to read out the radar tx_power by using this code:

    [tx_power] = xep.x4driver_get_tx_power();

    The following were the errors:

    Error using calllib
    Pointer types must match data type.

    Error in ModuleConnector.RadarInterface/xep_x4driver_get_tx_power (line 430)
    status = calllib(this.lib_name,'xep_x4driver_get_tx_power', xep_instance,tx_powerPtr);

    Error in ModuleConnector.XEP/x4driver_get_tx_power (line 274)
    status = this.radarInterface.xep_x4driver_get_tx_power(this.x2_instance,tx_powerPtr);

    Can anyone help? Thanks in advance.
    Last edited: Jan 7, 2020