Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZMAP Fields and buttons not showing up, making it appear that no file was loaded #42

Open
rameshpudi opened this issue May 6, 2020 · 3 comments
Assignees

Comments

@rameshpudi
Copy link

Dear all,
I am using ZMAP6 due to unavailability of latest Matlab version. I was trying to load .mat or ASCII data files which are in ZMAP format but it is not loading and even it does not showing any error. Please find the image below for your reference.

I hope someone could solve this issue. Your kind help shall be highly appreciated.

Thank you.

Zmap

@CelsoReyes
Copy link
Owner

Hi. The problem you're seeing is that MATLAB changed its graphical defaults. For most of MATLAB 6, the problem is that the graphics Units for uicontorll used to default to is So, all the info exists, but it's drawing the controls in the wrong place, so you can't see them.

Here's a file that might help. It masks the built-in matlab uicontrol, and intercepts these calls. When it finds one that originates from a path that includes "zmap", it will tweak the units, forcing them to be "normalized".

This should make most of the items reappear. I have not tested it beyond the main screen. It may not work for everything.

uicontrol.m.zip

@CelsoReyes CelsoReyes pinned this issue May 6, 2020
@CelsoReyes CelsoReyes changed the title Problem with loading data in ZMAP6 ZMAP Fields and buttons not showing up, making it appear that no file was loaded May 6, 2020
@CelsoReyes CelsoReyes self-assigned this May 6, 2020
@rameshpudi
Copy link
Author

Dear CelsoReyes,
Thanks for your kind support, I had with your suggestion but now Zmap is not opening and It was showing different error.
Thank you
Zmap2

@CelsoReyes
Copy link
Owner

I didn't test after a last moment change. Try this (I was missing [])
uicontrol_fixed.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants