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

8 lines
236 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
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;