Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
CCodeGenerator >

LibraryGenerate


generates a shared library from the compiled function cfun using the name as the exported function name.
  • To use , you first need to load it using Needs.
  • Mathematica contains the necessary headers and libraries for standalone code.
  • The following option can be given:
"CodeTarget""WolframRTL"the type of code to generate
First, load the package:
Generate C code and compile it into a library:
First, load the package:
In[1]:=
Click for copyable input
Generate C code and compile it into a library:
In[2]:=
Click for copyable input
Out[2]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF