필터 지우기
필터 지우기

RF Toolbox Visualizations Hanging

조회 수: 2 (최근 30일)
Alex B
Alex B 2023년 12월 1일
답변: Alex B 2024년 1월 19일
Following the tutorials at:
and more, then trying to execute the codes:
tx = txsite("Name","MathWorks Apple Hill", ...
"Latitude",42.3001,"Longitude",-71.3504)
pattern(tx)
--------------------------
fq = 28e9; % 28 GHz
tx = txsite("Name","South Uncanoonuc (BS)", ...
"Latitude",42.983723, ...
"Longitude",-71.587173, ...
"TransmitterPower",1, ...
"TransmitterFrequency",fq);
show(tx)
------------------------
pm = propagationModel("longley-rice");
tx = txsite("Name","Apple Hill","Latitude",42.3001,"Longitude",-71.3604);
coverage(tx,pm,"SignalStrengths",-100:-5)
All of which are copied directly from the examples will cause MATLAB to hang on the pattern(), show() and coverage() commands, respectively. No error is given, the script will just run until it times out. All relevant toolboxes are installed and fully updated (the error seems to persist across multiple versions of r2023a). The computer is connected to the internet, and running the code
tf = false;
try
address = java.net.InetAddress.getByName('www.google.com')
tf = true;
end
shows that MATLAB is also able to connect to the internet. I've read through the documentation and tried searching for this issue but I haven't found any clear answers.
Does anyone know how to fix this?
  댓글 수: 2
Ganesh
Ganesh 2023년 12월 12일
Hi,
I request you to share the crash log here, which can be found by using
dir(fullfile(tempdir,'prefix*')) % On Windows
% OR
dir(fullfile('~','prefix*')) % On Linux or Mac
Meanwhile, things you can check from your end are:
  1. Ensure that you have the correct licensing.
  2. Ensure that you have enough computational resources.
  3. Try to apply breakpoints and debug the issue, and point to the perfect cause of
  4. MATLAB Uses OpenGL for Low-Level Graphics systems. Try to run matlab using matlab -softwareopengl and then executing the mentioned functions.
Alex B
Alex B 2023년 12월 26일
The directory you asked about doens't exist. To your other points:
  1. My license supports the right packages; I'm not getting any errors about permissions, it just hangs.
  2. This issue has happened across 3 different computers now with more than enough resources to do this
  3. The stack trace shows the issue as being in the map validation, but I can't get more detailed than that (whenever I try to diagnose where it's hanging within Validators.m I get inconsistent results)
  4. Running MATLAB with or without software OpenGL doesn't seem to have an effect
Thank you for your help but I'm probably going to submit this as a bug report to MATLAB at this point.

댓글을 달려면 로그인하십시오.

채택된 답변

Alex B
Alex B 2024년 1월 19일
This is a small bump, but in case anyone else runs into this issue it ultimately stemmed from an OpenGL issue due to using the dark mode beta GUI - if you get this same hanging issue try disabling that first

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by