- Ensure that you have the correct licensing.
- Ensure that you have enough computational resources.
- Try to apply breakpoints and debug the issue, and point to the perfect cause of
- MATLAB Uses OpenGL for Low-Level Graphics systems. Try to run matlab using matlab -softwareopengl and then executing the mentioned functions.
RF Toolbox Visualizations Hanging
2 views (last 30 days)
Show older comments
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 Comments
Ganesh
on 12 Dec 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:
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!