Skip to content

Instantly share code, notes, and snippets.

View cshen's full-sized avatar
💭
I may be slow to respond.

C Shen cshen

💭
I may be slow to respond.
View GitHub Profile
"""
cymex.pyx
=========
This file shows how to bootstrap a C extension for MATLAB with just Cython,
and no C stubs. This strategy probably would work for extending other
languages as well, with C/Python.
It is necessary to redirect MATLAB's libgfortran link as found in
$MATLAB/sys/os/glnxa64/libgfortran.so.3 to the one to which your NumPy's