extall / fomcon-matlab

FOMCON toolbox for MATLAB
MIT License
35 stars 14 forks source link

GUI issue with MATLAB on Windows #13

Closed extall closed 1 year ago

extall commented 1 year ago

There is an issue with text fields in, e.g., fotfid identification tool in MATLAB R2021a/b (other versions not yet checked) running on Windows platform. Specific details are being investigated. But if something like this is seen (see image), it is that bug.

example_issue

extall commented 1 year ago

It seems that the issue affects Add-on installations of the toolbox. Hence, if you encounter this issue, please use the Github version of the toolbox until the issue is resolved.

extall commented 1 year ago

The same issue is encountered in Windows 10. Therefore, it looks like a general issue with the Add-on version of the toolbox. Updated the issue accordingly.

extall commented 1 year ago

Traced to a conflict between two differen poly2str functions. When installed as an add-on, the poly2str function which comes bundled with MATLAB on path, e.g., MATLAB/R20xxx/toolbox/control/ctrlobsolete/ takes precedence over the FOMCON function having the same name.

So it is not a GUI issue per se, it's some weird path problem. Looking for a fix without breaking compatibility.