Azzera filtri
Azzera filtri

graphic error while plotting 3D

7 visualizzazioni (ultimi 30 giorni)
Eisa Alyaqoub
Eisa Alyaqoub il 9 Lug 2019
Commentato: Rik il 18 Set 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 Commenti
Amey Khobragade
Amey Khobragade il 18 Set 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 il 18 Set 2020
@Amey, what to do? Have a read here and here.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by