Crosshairs missing for drawpolygon() when running from editor but not running in application. What could be the cause of this?

1 Ansicht (letzte 30 Tage)
When I am testing an application I am using in the editor, an error seems to occur where the cross hairs for drawpolygon never appear.
However, if I use the application compiler to build the standalone app, the cross hairs work fine and the tool progresses as normal. I am worried about this for two reasons:
1) It makes testing the application harder; I have to compile it everytime I want to test something.
2) I am worried that this is a symptom of something else that is wrong.
Has anyone else ever encountered this with drawpolygon() or even something else where it works in the compiled application but not the editor?
In case it is helpful attached are all the files you would need to run this including the interface figure and matlab code (interface.fig, interface.m), the main code to run this from (multiRoomVis.m), and one of the analysis tools (rhSwing.m). If you are viewing multiRoomVis.m, you can click "run", then the interface should appear. When you click on upload a map, you can use RB 3rd Floor.jpg, when you click on upload data, you can upload both of the files in the zipped OBIX folder, then select January 1, 2018 for start and January 1, 2019 for end dates, and click the "Run Analysis" button at the bottom. As you can see in the video, on my computer the crosshairs for drawpolygon() never appear.
Thanks in advance!!

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by