8 lines
236 B
Mathematica
8 lines
236 B
Mathematica
|
|
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;
|