pcshow not working with app designers UIAxes

10 visualizzazioni (ultimi 30 giorni)
Markus Virtanen
Markus Virtanen il 21 Mag 2020
Modificato: Veronica Taurino il 26 Feb 2021
Hi,
I'm having problems with plotting point cloud object in Matlab App Designer. I'm not able get pcshow to plot on a UI panel.
Simply put I'm trying to pcread a ply file and then plot it on a UI panel with pcshow.
But there seems to be a problem with UI panel and pcshow compatibility?
Is there any way to get pcshow to plot on a UI panel so that it works with Matlab webApp or do i need to use Scatter3 to accomplish the wanted results?
It seems weird that pcshow has these issues while scatter3 works fine, even tho pcshow uses scatter3.
Thanks a lot in advance!
  1 Commento
Veronica Taurino
Veronica Taurino il 26 Feb 2021
Modificato: Veronica Taurino il 26 Feb 2021
Hi! Did you managed to plot your pc inside the appDesign GUI??
There are few problems both with pcshow and scatter3. Have you got a solution?

Accedi per commentare.

Risposte (1)

Raunak Gupta
Raunak Gupta il 28 Mag 2020
Hi,
The above-mentioned issue is a known issue and the concerned parties may be investigating further on it. Meanwhile if the error message is something like
No appropriate method, property, or field 'Renderer' for class 'matlab.ui.container.Panel'.
Error in pcshow (line 106) if strcmpi(hFigure.Renderer, 'painters')
Then you may refer to the given workaround here.
Otherwise the best workaround is to use scatter3 or plot3 functions with the point-cloud data.

Community Treasure Hunt

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

Start Hunting!

Translated by