This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

C (.c)

C programming language.
General purpose implementation language for computer systems and applications.
Developed at Bell Telephone Laboratories in 1972.
  • Export generates code compatible with the C99 standard.
  • Export exports a list of compiled functions to one set of code and header files.
  • Export exports a discrete-time state-space model ss.
  • The exported source and header files have the same file name base.
  • Export exports expr using as the C function name.
  • Export creates code and header files by treating expr as specifying element elem.
  • Export treats each as specifying the corresponding .
  • Export exports expr with the specified option elements taken to have the specified values.
  • Export uses rules to specify the elements to be exported.
  • See the reference page for full general information on Export.
"CreateHeaders"Truewhether to generate header file
Generate C files for a mathematical function:
Export multiple CompiledFunction objects to a C source and header files:
Export a StateSpaceModel object to C source and header files:
Create source and header files with given function names:
Generate C files for a mathematical function:
In[1]:=
Click for copyable input
Out[1]=
 
Export multiple CompiledFunction objects to a C source and header files:
In[1]:=
Click for copyable input
Out[1]=
 
Export a StateSpaceModel object to C source and header files:
In[1]:=
Click for copyable input
Out[1]=
 
Create source and header files with given function names:
In[1]:=
Click for copyable input
Out[1]=