Ok, it essentially just has a for-loop within it. I tried running it with sdpfun and keep getting the following error:
LMI #3 not available.
Error in compileinterfacedata>convertsocp2NONLINEAR (line
1232)
z = sdpvar(Fsocp(i));
Error in compileinterfacedata (line 699)
[F,changed] = convertsocp2NONLINEAR(F);
Error in solvesdp (line 241)
[interfacedata,recoverdata,solver,diagnostic,F,Fremoved] =
compileinterfacedata(F,[],logdetStruct,h,options,0,solving_parametric);