Effacer les filtres
Effacer les filtres

graphic error while plotting 3D

7 vues (au cours des 30 derniers jours)
Eisa Alyaqoub
Eisa Alyaqoub le 9 Juil 2019
Commenté : Rik le 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 commentaires
Amey Khobragade
Amey Khobragade le 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 le 18 Sep 2020
@Amey, what to do? Have a read here and here.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by