command "vpa" not work
6 views (last 30 days)
Show older comments
Mohammed Sobhy
on 26 Dec 2021
Commented: Mohammed Sobhy
on 26 Dec 2021
clear
clc
vpa(10)
when I excute this code, I obtain an error as
Unrecognized function or variable 'vpa'.
Accepted Answer
John D'Errico
on 26 Dec 2021
vpa is not part of MATLAB, UNLESS you have the symbolic toolbox. So do you have a license for that? At the command line, type
ver
It will tell you if you have a valid license for that toolbox. If you THINK you do have that toolbox, then you may possibly just not have installed it properly. But first you need to see what ver tells you.
3 Comments
John D'Errico
on 26 Dec 2021
So that tells you what you need to do. If you need the symbolic toolbox, then you need to obtain a copy. If you bought MATLAB yourself, then you will need to add the symbolic toolbox. At least, if you need it. I find it quitte useful myself.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!