eulergamma throwing an 'Undefined function or variable' error

3 views (last 30 days)
I need to compute the Cin integral (documentation here https://en.wikipedia.org/wiki/Trigonometric_integral) for some fourier series coefficients, which has the Euler-Mascheroni constant as part of it's definition. There is a function eulergamma from the symbolic math toolbox which computes this number. I have this toolbox and have v2019a of MATLAB installed on my computer. I have copied and pasted every example from the Matlab documentation about the eulergamma function into my command window and I just get the error 'Undefined function or variable 'eulergamma''.
What could I possibly be doing wrong?
  6 Comments
Walter Roberson
Walter Roberson on 5 Apr 2020
You have the Maple symbolic toolbox interface to matlab installed. You need to uninstall that interface or remove it from your MATLAB path.
Cassandra Carrick
Cassandra Carrick on 5 Apr 2020
I removed it from the MATLAB path, and now everything is working. Thank you very much!!

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 12 Jan 2021
[Moving down from comment]
You have the Maple symbolic toolbox interface to matlab installed. You need to uninstall that interface or remove it from your MATLAB path.

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!