command "vpa" not work

19 views (last 30 days)
Mohammed Sobhy
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'.
  1 Comment
Mohammed Sobhy
Mohammed Sobhy on 26 Dec 2021
when I type
which vpa
we obtain
'vpa' not found.

Sign in to comment.

Accepted Answer

John D'Errico
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
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.
Mohammed Sobhy
Mohammed Sobhy on 26 Dec 2021
I have an original version. So, I will reinstall it
Thank you very much.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!