App designer opening seems to kill the help window

3 次查看(过去 30 天)
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 个评论
Jestzer
Jestzer 2022-12-10
Are there any other steps you’re leaving out? Are you opening a certain file and then the issue occurs?
Michael Cole
Michael Cole 2022-12-10
编辑:Michael Cole 2022-12-11
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.

请先登录,再进行评论。

回答(2 个)

Suvansh Arora
Suvansh Arora 2022-11-30
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 个评论
Michael Cole
Michael Cole 2022-12-2
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.

请先登录,再进行评论。


Michael Cole
Michael Cole 2022-12-17
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 个评论
Jestzer
Jestzer 2022-12-17
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by