How can I compile a library for C using the MATLAB toolbox function?

2 views (last 30 days)
I have followed the tutorial to build a library for C which consists the MATLAB function "igamma". Compiling with C did not report any error. However, when I tried to run it, it showed a fatal error saying that '''Undefined variable "sym" or class "sym.useSymForNumeric".'''

Accepted Answer

Walter Roberson
Walter Roberson on 11 Jan 2018
Nothing from the Symbolic Toolbox can be compiled.
  3 Comments
Zhe Shen
Zhe Shen on 12 Jan 2018
That is exactly the problem since I am dealing with complex numbers. So is there any way to utilize MATLAB "igamma" function in C code?

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!