MATLAB File Help: HebiUtils.saveGains
HebiUtils.saveGains
  saveGains saves gains for group to disk (xml)
 
    This method saves gains from a GainStruct in a human
    readable format on disk. Note that this includes only the
    control strategy and the corresponding gains, and may
    exclude some fields such as 'time' or 'mStopStrategy'.
 
    Examples:
       % Make a new set of gains and save to XML
       gains = GainStruct(); % alt: group.getGains();
       gains.positionKp = [1 1 1 1];
       gainFile = HebiUtils.saveGains(gains, 'MyGains');
       display(gainFile);
 
       % Save gains that are currently set for a group
       gains = group.getGains();
       gainFile = HebiUtils.saveGains(gains, 'MyGains');
       display(gainFile);
See also
Method Details
Access public
Sealed false
Static true