Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
davidgaow opened this issue Aug 4, 2023 · 1 comment
Open

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

davidgaow opened this issue Aug 4, 2023 · 1 comment

Comments

@davidgaow
Copy link

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
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants