Unuseable function X4M300 from Matlab

Discussion in 'Module Connector (MC)' started by Jameson, Jul 3, 2018.

  1. Jameson

    Jameson New Member

    Hello,

    I am unable to call the get_output_control() function from Matlab. I am able to call other functions within that class, however, I noticed in the x4m300.hpp file for windows, I do not see the function declaration for get_output_control() or several other functions. Is there a reason for not implementing some of these functions, or is there a workaround so that I can use those functions that don't have a declaration?

    The output I get in matlab when I call get_output_control is:
    Code:
    >>RadarObject{1}.radarData.app.get_output_control(12)
    
    Error using ModuleConnector.RadarInterface/load_profile
    Too many input arguments.
    
    Error in ModuleConnector.X4M300/get_output_control (line 194)
                status = this.radarInterface.load_profile( this.X4M300_instance, output_feature,
                output_ctrlPtr);
    Curiously when I don't input any arguments to the function, this is the response:
    Code:
    >>RadarObject{1}.radarData.app.get_output_control()
    Not enough input arguments.
    
    Error in ModuleConnector.X4M300/get_output_control (line 194)
                status = this.radarInterface.load_profile( this.X4M300_instance, output_feature,
                output_ctrlPtr);
     
  2. Aksel Johnsby

    Aksel Johnsby Moderator Staff Member

    Hi Jameson,
    This is a bug that will be fixed in the next release of ModuleConnector. Sorry for the inconvinience.

    Thanks
    --
    Aksel