Is there any possibility of S-function written in C language calling matlab function library, and if so, then how ? I will appreciate that if someone can tell me.
显示 更早的评论
Is there any possibility of S-function written in C language calling matlab function library, and if so, then how ? I will appreciate that if someone can tell me.
1 个评论
Kaustubha Govind
2014-10-20
Li wrote:
Hi,I know it is possible to call matlab functions from C S functions? But some questions make me suffer a lot.Firstly,the mexCallMATLAB function is used in mexFunction so that inv function from matlab can be called,my question is that how do the C S function and mexFunction compile simultaneously?Secondly, as mentioned above,inv function from matlab is needed,what should i do to convert array from C to mxArray accepted by mex function? Your help will be appreciated!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!