use 'bernsteinMatrix' from MATLAB works in 2014(macos) and 2015(macos) not 2013(Win7)

2 views (last 30 days)
r=linspace(0,1,11);
bezierbasis=evalin(symengine,bernsteinMatrix(3,r)); Undefined function 'bernsteinMatrix' for input arguments of type 'double'.
or
bezierbasis=bernsteinMatrix(3,r);
Undefined function 'bernsteinMatrix' for input arguments of type 'double'.

Accepted Answer

Titus Edelhofer
Titus Edelhofer on 24 Mar 2015
Hi Konstantinos,
in which "2013(Win7")? According to the documentation in R2015a it was added in R2013b. Could it be you are using R2013a on Win7?
Titus

More Answers (1)

John D'Errico
John D'Errico on 24 Mar 2015
So? Is this a statement of fact or a question?
Assuming that older copy of MATLAB has that toolbox, then your test simply reflects that not all functions will be available in an older MATLAB release, since every function was written at some time.
The answer is simple. Use the newer release. Upgrade your version. And, NO, you cannot be given a copy of just that function for your personal use.

Community Treasure Hunt

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

Start Hunting!