Question:
How do I use C/C++ data array in MATFOR programs?

Answer:
To use C/C++ data in MATFOR programs, you may use mfGetRealPtr/mfGetComplexPtr to get the memory address of a real array/complex array.