Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

dynamic size change in parameters of mex function

조회 수: 1 (최근 30일)
Amit
Amit 2014년 11월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
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
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!

Translated by