main content

c shared library integration -凯发k8网页登录

integrate packaged matlab® functions into c applications

matlab compiler sdk™ enables you to create c shared libraries from matlab functions.

shared libraries that use the mxarray api have an interface that uses c-style functions to initialize the matlab runtime, load the packaged matlab functions into the matlab runtime, and manage data that is passed between the c code and the matlab runtime. for an example, see create a c shared library with matlab code.

functions

create c shared library
options for building c shared libraries
compile and link source files against matlab generated shared libraries

c api

initialize the matlab runtime proxy library
set up application state shared by all matlab runtime instances created in current process
close matlab runtime-internal application state
initialize matlab runtime instance associated with library
free all resources allocated by matlab runtime instance associated with library
mechanism for creating identical wrapper code across all platforms
determine if matlab runtime has been properly initialized
enable deployed applications to process graphics events so that figure windows remain displayed
last error message from unsuccessful library initialization or matlab function call
retrieve name of log file used by matlab runtime
determine if matlab runtime was started with instance of java virtual machine (jvm)
determine if -nodisplay mode is enabled

topics

create and implement a c shared library

integrate a c shared library with a c driver application


  • use one or more matlab compiler sdk generated c shared libraries in your c application.

  • use matlab compiler sdk shared library functions in c and c code.

  • use multiple generated shared libraries in a single c/c application.

mac os x


  • write deployable c applications specifically for macos.

troubleshooting c shared libraries


  • list of possible failures during compilation.

  • list of possible failures during testing.

  • list of possible failures during deployment.

  • issues involving the mbuild utility and creating standalone applications.

related information



网站地图