Info
此问题已关闭。 请重新打开它进行编辑或回答。
dynamic size change in parameters of mex function
1 次查看(过去 30 天)
显示 更早的评论
I am trying to convert a user defined class function into mex function. I am passing class object as parameter. I am converting it into a structure as mex function does not support user defined class objects. Every time I call this mex function the parameters of the object (in my case structure parameters are changing the size). Hence, when I try to call mex function it gives an error that certain parameter does not have correct size. Is there any solution to this?
1 个评论
Geoff Hayes
2014-11-12
Amit - how are you converting your class object into a structure? Please include the code that does this translation. As well, please describe which parameters of the struct is change. Give before and after examples.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!