App designer opening seems to kill the help window

1 vue (au cours des 30 derniers jours)
Michael Cole
Michael Cole le 25 Nov 2022
Commenté : Jestzer le 17 Déc 2022
When starting up Matlab the help window opens up fine and displays whatever is asked. But after starting 'app designer' whenever I type something in the help search window, an empty help window appears. I have to go to a webpage to search the documentation. Is this some sort of path or environment variable issue?
  4 commentaires
Jestzer
Jestzer le 10 Déc 2022
Are there any other steps you’re leaving out? Are you opening a certain file and then the issue occurs?
Michael Cole
Michael Cole le 10 Déc 2022
Modifié(e) : Michael Cole le 11 Déc 2022
Yes, thanks for your interest. I've been working intensely with Tech Support to find what's causing this for a while now. I've discovered a few things. Upon opening Matlab everything involving 'help' and 'codeanalyzer' works fine. After starting 'appdesigner' everything is still fine. Upon opening any and every 'mlapp' file, both 'help' and 'codeanalyzer' show blank screens. In fact the previously opened 'help' window has now turned blank.
This problem happens on both my Macs but does not happen on my Windows 10 machine.
I did try a complete Matlab re-install but that didn't fix my problem.
Some commands Tech Support showed path errors. See below.
>> appdesigner
>> url = 'google.com';
>> cmd = sprintf('MATLABWindow --url=%s ', url);
>> system(cmd)
zsh:1: command not found: MATLABWindow
ans =
127
>> cd(fullfile(matlabroot,'sys','jxbrowser-chromium','maci64','chromium'))
Error using cd
Unable to change current folder to
'/Applications/MATLAB_R2022b.app/sys/jxbrowser-chromium/maci64/chromium' (Name is nonexistent
or not a folder).
>> !otool -L libjxbrowser-common64.dylib | grep -i found
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: libjxbrowser-common64.dylib (No such file or directory)
I suspect some sort of path problem or inconsistency with XCode on my Macs.

Connectez-vous pour commenter.

Réponses (2)

Suvansh Arora
Suvansh Arora le 30 Nov 2022
This can be caused for various reasons, please try below mentioned workarounds to resolve this issue:
  • Sign out "MathWorks Account" in MATLAB Desktop.
  • Restart MATLAB and sign in "MathWorks Account" again.
Attaching below related ML answers community questions for your reference,
If you still face any issues, feel free to reach out to MathWorks Technical Support.
  1 commentaire
Michael Cole
Michael Cole le 2 Déc 2022
I've been working with tech support. The solution probably is a clean install. Even Code Analyzer is blank once appdesigner is started. Thanks for your attention.

Connectez-vous pour commenter.


Michael Cole
Michael Cole le 17 Déc 2022
After struggling with this problem for weeks, Mathworks engineers and I had a conference call where I shared my Mac desktop with them and they saw that there was a problem. They are looking into it. In the meantime they provided me with a workaround that works on both my Macs. Here it is:
cd /Applications/
cd MATLAB_R2022b.app
./bin/matlab -cefdisablegpu
This apparently disables hardware acceleration on my GPU or forces it to downscale its properties. I note this "-cefdisablegpu" issue has been used to solve several other problems users were having like this one about typing latency:
  1 commentaire
Jestzer
Jestzer le 17 Déc 2022
I don’t know much about -cefdisablegpu specifically, but it sounds like the command specifically disables GPU acceleration for CEF-related things. Basically any window that uses Chromium, from my understanding. I’m curious what the full fix’ll be.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by