Be the first to rate this file! 3 Downloads (last 30 days) File Size: 3.92 KB File ID: #18449

From Fortran, call MATLAB Compiler C shared library

by George Thiers

 

24 Jan 2008 (Updated 24 Jan 2008)

Mixed Language Example: From Fortran, call MATLAB Compiler C shared library

| Watch this File

File Information
Description

The MATLAB Compiler (v4, R14 onwards) can package MATLAB code into an executable or C/C++ shared library. Calling a C shared library from Fortran, however, can be difficult. The mixed-language issue is C vs. Fortran calling conventions. This is an example of how to call a MATLAB Compiler-generated C shared library from Fortran.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Access a MATLAB Compiler Generated DLL, Matlab -> dl l-> JNI -> Java working example

Required Products MATLAB Compiler
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
external interface George Thiers 22 Oct 2008 09:44:32
fortran compiler c shared library George Thiers 22 Oct 2008 09:44:32

Contact us at files@mathworks.com