Convert the m-file into mex32 file for S-function block
1 次查看(过去 30 天)
显示 更早的评论
I want to convert my m-file (suppose i have an function with N-inputs and N-outputs written in embeeded code in simulink or m-function) into mex32 file (with both mex32 & dll attached) for the S - function usage. My purpose is to hide the source code of my m-file, so that other user can work using the S-function provided with mex32 files. I have gone through the S-function examples of the m-file, but it looks like total different and even it is showing the m-file. Can there is a simple procedure to convert into mex32 for using S-function.
0 个评论
回答(1 个)
Kaustubha Govind
2013-5-29
2 个评论
Kaustubha Govind
2013-5-30
Could you explain a little more about the other application that needs to use this. Is it a Simulink model, or did you want to call into the MEX-file as if it were a MATLAB function?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!