Try to approach the problem from the Python side: Python is a great glue language, I would suggest you to have Python run your Matlab and C programs. Python has:
- Numpy
- PyLab
- Matplotlib
- IPython
Thus, the combination is a good alternative for almost any existing Matlab module.