Hi Fiona,
The following document has examples describing how you can call MATLAB Coder generated functions from external C code.
I suggest:
- Write a wrapper function in C that accepts data from python. In this function create the appropriate emxArrays as discussed in the documentation and pass them to the MATLAB Coder generated function.
- Call this wrapper function from python.
I hope this helps.
Thanks,
Areej