필터 지우기
필터 지우기

graphic error while plotting 3D

조회 수: 7 (최근 30일)
Eisa Alyaqoub
Eisa Alyaqoub 2019년 7월 9일
댓글: Rik 2020년 9월 18일
Here is my code:
close all
addpath('C:\Users\e_m20\MatLab_files\Dr. Sung_research\Preprocessing\nurbs_toolbox');
addpath('C:\Users\e_m20\MatLab_files\Dr. Sung_research\Preprocessing');
model = loadxcat_full('xcat_nurbs.nrb');
figure(12),
hold on;
num = 1;
N = 3*5+1;
ulen = length(model(num).uknots);
vlen = length(model(num).vknots);
nrbplot(model(num).nurbs,[ulen vlen]*N);
Here is the erro I got everty time.
Warning: Error occurred while executing the listener callback for event WindowMouseMotion defined for class matlab.ui.Figure:
Error using vertcat
Out of memory. Type "help memory" for your options.
Error in surf2patch (line 72)
f = [q q+m q+m+1; q q+m+1 q+1];
Error in matlab.graphics.chart.interaction.dataannotatable.SurfaceHelper>localGetNearestVertex (line 199)
[f, verts] = surf2patch(xdata, ydata, zdata, 'triangles');
Error in matlab.graphics.chart.interaction.dataannotatable.SurfaceHelper.getNearestPoint (line 43)
index = localGetNearestVertex(hObj, position);
Error in matlab.graphics.chart.primitive.Surface/doGetNearestPoint
Error in matlab.graphics.interaction.actions.Linger/motionCallback
Error in matlab.graphics.interaction.actions.Linger
Could you please expline why I am getting this error ?
Thank you,
  댓글 수: 5
Amey Khobragade
Amey Khobragade 2020년 9월 18일
Error in matlab.graphics.interaction.actions.Linger/motionCallback
Error in matlab.graphics.interaction.actions.Linger
Warning: Error occurred while executing the listener callback for event WindowMouseMotion defined for
class matlab.ui.Figure:
Error using timer/start (line 87)
Attempt to execute SCRIPT cell as a function:
C:\Users\Amay\OneDrive\Documents\MATLAB\cell.m
Error in matlab.graphics.interaction.actions.Linger/startTimer
Error in matlab.graphics.interaction.actions.Linger/motionCallback
Error in matlab.graphics.interaction.actions.Linger
Warning: Error occurred while executing the listener callback for event WindowMouseMotion defined for
class matlab.ui.Figure:
Error using timer/start (line 87)
Attempt to execute SCRIPT cell as a function:
C:\Users\Amay\OneDrive\Documents\MATLAB\cell.m
Error in matlab.graphics.interaction.actions.Linger/startTimer
Error in matlab.graphics.interaction.actions.Linger/motionCallback
Error in matlab.graphics.interaction.actions.Linger
Warning: Error occurred while executing the listener callback for event WindowMouseMotion defined for
class matlab.ui.Figure:
Error using timer/start (line 87)
Attempt to execute SCRIPT cell as a function:
C:\Users\Amay\OneDrive\Documents\MATLAB\cell.m
Error in matlab.graphics.interaction.actions.Linger/startTimer
Error in matlab.graphics.interaction.actions.Linger/motionCallback
Error in matlab.graphics.interaction.actions.Linger
i have got this eroro now wht to do
Rik
Rik 2020년 9월 18일
@Amey, what to do? Have a read here and here.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by