Refresh Input Data in C mex function

1 view (last 30 days)
Alok Pathak
Alok Pathak on 19 Mar 2013
Hi Friends
I am working with Matlab C++ shared library in my project. The library performs all te computation work for my program. I am supposed to provide input from the C side to the mlxfunction(),to make it run.
To simply test it, I ran the matlab function in loop with every change in my data. But my data speed is pretty fast and the fact that I am calling the function everytime, hence, my update is pretty slow.
Is it possible for me to initiate the function only one and update my input data? I hope it will be faster this way. Am I going the wrong direction? Are there any other way I could do it?
Thank you very much in advance.
Regards Alok

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!