필터 지우기
필터 지우기

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

조회 수: 26 (최근 30일)
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));

채택된 답변

Walter Roberson
Walter Roberson 2019년 7월 16일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 ThingSpeak에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by