graphic error while plotting 3D

6 Ansichten (letzte 30 Tage)
Eisa Alyaqoub
Eisa Alyaqoub am 9 Jul. 2019
Kommentiert: Rik am 18 Sep. 2020
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 Kommentare
Amey Khobragade
Amey Khobragade am 18 Sep. 2020
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 am 18 Sep. 2020
@Amey, what to do? Have a read here and here.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by