フィルターのクリア

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 Center および File ExchangeThingSpeak についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by