about coder used handles.axes

조회 수: 2 (최근 30일)
seongo park
seongo park 2018년 8월 5일
답변: Ryan Livingston 2018년 8월 15일
I want to make mex file using coder application, but there is a problem. I don't know the type of handles.axes. this is used at making graph used in gui. Please help me........
  댓글 수: 2
Jan
Jan 2018년 8월 5일
편집: Jan 2018년 8월 5일
What exactly is "handles.axes"? How did you define or create it?
handles.axes = 5
Then it is a double. "Used at making graph" does not clarify this.
seongo park
seongo park 2018년 8월 6일
the "handles.axes" is used in gui, axes window. So it is not define values. But I make name 'axes1' at guide window.
When I run mex file, then it say
MATLAB expression 'handle1' is not of the correct class: expected 'struct', found 'matlab.graphics.axis.Axes'.
I define handle1 'struct' but it doesn't work. And in this function,
function [] = abcd(handle1,handle2)
I put handles.axes1 to handle1.

댓글을 달려면 로그인하십시오.

답변 (1개)

Ryan Livingston
Ryan Livingston 2018년 8월 15일
Graphing and plotting functions are generally not supported for code generation with MATLAB Coder. If you can elaborate on why you'd like a MEX file, we can provide some guidance.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by