ans = 
Strange "solve" error and undefined "vpasolve"
Ältere Kommentare anzeigen
Hi,
When trying to use the "solve" function for one of the doc examples it only returns the sym variable. It doesn't even solve the equation x+1==0, when using the syntax:
syms x
solvex=solve(x+1==0,x)
it only returns solvex=x. Even worse, it does not even recognize vpasolve as a function and gives the error: "Undefined function or variable 'vpasolve'". Any help would be greatly appreciated.
/Philip
2 Kommentare
Walter Roberson
am 3 Nov. 2018
Is it possible that at some point you installed the Maplesoft MATLAB Connector, which is an interface that permits MATLAB to call into Maple ?
Philip Croné
am 4 Nov. 2018
Akzeptierte Antwort
Weitere Antworten (1)
MohammadMahdi MovahedFar
am 22 Apr. 2025
Bearbeitet: MohammadMahdi MovahedFar
am 22 Apr. 2025
0 Stimmen
You should write:
S = vpasolve(...)
Without assignment it won't work.
2 Kommentare
Walter Roberson
am 22 Apr. 2025
The original problem was that the user had installed the Maplesoft Maple symbolic interface, which does not define a function named vpasolve . Requiring output for an undefined function does not fix the problem that the function is undefined.
Kategorien
Mehr zu Symbolic Math Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!