droste89 / SOStab

A sum-of-squares toolbox for stability analysis
GNU General Public License v3.0
9 stars 1 forks source link

run demo.mlx on R2019b version, got ERROR #13

Open davidgaow opened 1 year ago

davidgaow commented 1 year ago

run demo with R2019b version, got:

ERROR: variable_replace (line 31)
Nonlinear replacement not supported yet

ERROR:  sdpvar/replace (line 38)
    Z = variable_replace(X,Y,W);

ERROR:  SOStab/SoS_out (line 188)
                f = (obj.D) * replace(obj.dynamics, [obj.t;obj.x], [s*T;(obj.invD)*z+obj.x_eq]); % f defined thanks to variable change
droste89 commented 1 year ago

As I don't think I have already seen this error, I would say that it may be due to your installation - especially because you are running the demo, which was tested a considerable amount of time. Do you have the latest version of Yalmip ? On the other hand, the error suggests a "nonlinear" replacement, which seems strange because everything should be linear here. Are you sure you don't have any variables in memory that could collide with the internal variables of the toolbox ? One possibility could be also your version of matlab (we use R2022b and I didn't have the opportunity to test it with previous versions).