Hey, I need to modify some C codes, but I want to change the original FFT subroutine into someway that calls matlab spectrum functions. I checked the matlab help document, but still have not decided which way to go: (1) C-MEX file; (2) mcc. There must be some other way to go, but I have not learned enough. Anybody here is familiar with this kind of thing? Would you please give me some suggestions, or recommended approaches? Thank you very much.