My end goal is to solve a system equations for a variable. I have run into the problem that I cannot create any variables using syms. I have simplified my problem to the following for the purpose of understanding why i recieve the error below.
syms Deqn1 = 4 == .002*D/1e-6;vpasolve(eqn1, D, [0 0.01])
The following is what is returned in the command window:
The class 'sym' is used in its own class definition as a base class, property value, or
attribute value. This is not allowed.
Error in syms (line 227)
defined = sym(zeros(1, length(args)));
Error in Untitled (line 1)
syms D
MATLAB Version: 9.8.0.1417392 (R2020a) Update 4
MATLAB License Number: 8XXXXXXXX
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 19041)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
—————————————————————————————————–
MATLAB Version 9.8 (R2020a)
Simulink Version 10.1 (R2020a)
Signal Processing Toolbox Version 8.4 (R2020a)
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
Symbolic Math Toolbox Version 8.5 (R2020a)
Best Answer