Warning: The DrawMode property will be removed in a future release. Use the SortMethod property instead. > In SixDofAnimation (line ...)
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Can Burak Kavuncuoglu
am 16 Jul. 2019
Beantwortet: Walter Roberson
am 16 Jul. 2019
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));
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 16 Jul. 2019
Putting those together: replace setting drawmode 'fast' with instead setting SortMethod to 'childorder'
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu ThingSpeak finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!