Effacer les filtres
Effacer les filtres

Warning: The DrawMode property will be removed in a future release. Use the SortMethod property instead. > In SixDofAnimation (line ...)

26 vues (au cours des 30 derniers jours)
Hi. I am just a starter on Matlab. And I have a problem.
I am working with imu sensor (MPU6050) on Matlab R2018a. When I run the program, I have "Warning: The DrawMode property will be removed in a
future release. Use the SortMethod property instead.
> In SixDofAnimation (line 98)
In Script (line 150)
Error using matlab.graphics.chart.primitive.Line/set
Invalid or deleted object.
Error in SixDofAnimation (line 220)
set(orgHandle, 'xdata', x, 'ydata', y,
'zdata', z);
Error in Script (line 150)
SixDofAnimation(posPlot, quatern2rotMat(quatPlot),
..." on Command Window. How can I fix this problem.
Thanks for your answers.
set(gca, 'drawmode', 'fast'); %6DoFAnimation
set(gca, 'drawmode', 'fast');
lighting phong;
set(gcf, 'Renderer', 'zbuffer');
hold on;
axis equal;
grid on;
view(View(1, 1), View(1, 2));
title(i);
xlabel(Xlabel);
ylabel(Ylabel);
zlabel(Zlabel);
SixDoFAnimation(posPlot, quatern2rotMat(quatPlot),... %Script
SixDofAnimation(posPlot, quatern2rotMat(quatPlot), ...
'SamplePlotFreq', SamplePlotFreq, 'Trail', 'All', ...
'Position', [9 39 1280 768], 'View', [(100:(Spin/(length(posPlot)-1)):(100+Spin))', 10*ones(length(posPlot), 1)], ...
'AxisLength', 0.1, 'ShowArrowHead', false, ...
'Xlabel', 'X (m)', 'Ylabel', 'Y (m)', 'Zlabel', 'Z (m)', 'ShowLegend', false, ...
'CreateAVI', false, 'AVIfileNameEnum', false, 'AVIfps', ((1/samplePeriod) / SamplePlotFreq));

Réponse acceptée

Walter Roberson
Walter Roberson le 16 Juil 2019

Plus de réponses (0)

Catégories

En savoir plus sur ThingSpeak dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by