Dynamic-Calibration/utils/YALMIP-master/extras/@ncvar/saveobj.m

8 lines
236 B
Matlab
Executable File

function out = saveobj(obj)
%SAVEOBJ (overloaded)
% We have to save the persistent variables in the SDPVAR class
obj.savedata.internalsdpvarstate = yalmip('getinternalsdpvarstate');
obj.savedata.version = yalmip('version');
out = obj;