Effacer les filtres
Effacer les filtres

RF Toolbox Visualizations Hanging

2 vues (au cours des 30 derniers jours)
Alex B
Alex B le 1 Déc 2023
Réponse apportée : Alex B le 19 Jan 2024
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 commentaires
Ganesh
Ganesh le 12 Déc 2023
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 le 26 Déc 2023
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.

Connectez-vous pour commenter.

Réponse acceptée

Alex B
Alex B le 19 Jan 2024
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

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by