command "vpa" not work
1 次查看(过去 30 天)
显示 更早的评论
clear
clc
vpa(10)
when I excute this code, I obtain an error as
Unrecognized function or variable 'vpa'.
采纳的回答
John D'Errico
2021-12-26
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 个评论
John D'Errico
2021-12-26
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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!