How to link .m file and mex file

1 ビュー (過去 30 日間)
A R 2020 年 2 月 12 日
コメント済み: James Tursa 2020 年 2 月 13 日
Hello, I am doing a project in image processing. I have a .m file(which gets an image and perform modulation) and a c mex file (for analog output data generation to USB 205). I want to link the 2 files( .m and mex) so that the modulated data from .m file goes to mex file for data transmission. What are the possible ways to do this?
Thanks in advance!!
  6 件のコメント
James Tursa
James Tursa 2020 年 2 月 13 日
Can you describe in more detail what you want the mex function to do? What would be the input(s) and what would be the output(s)? There are examples shipped with MATLAB. Or I can post an example later today if needed, but it would help if I had an idea what you wanted the function to do.


回答 (0 件)


Find more on Write C Functions Callable from MATLAB (MEX Files) 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!

Translated by