Graphics error has appeared in Linux - help me understand why.
48 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I've been using MATLAB in Linux for plotting data for years, and for about 4 months with my current hardware/software setup
I'm now getting the following graphics error. It happens on the first run of a plotting script after I've started the MATLAB GUI, but not on any subsequent runs. It also happens when I run a plotting scipt from the Linux command line. The scripts run fine and generate plots.
disregard stty: warning message above
count lines, count words, count characters, filename =
wc: US: No such file or directory
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Undefined function 'readseisfile2' for input arguments of type 'char'.
> In hgrc (line 184)
In matlab.graphics.internal.initialize (line 15)
The only thing I recognise in the error message is readseisfile2. That sounds like a name I'd use for a function, but no such function exists on my system.
The problem started today when I was trying to make changes to my MATLAB startup. I've always had a problem saving my Path, and had to Set Path every time I started the MATLAB GUI. I needed to sort the Path problem so I could run scripts as batch jobs, either from the command line or as cronjobs. I noticed that userpath was empty, so I set that to the directory where I had created a startup.m file. That seemd to solve the Path problem.
I'm not certain that the graphics error appeared at exactly the same time as I fixed the Path.
Can anyone suggest what I could look at to try and troubleshoot this problem? My instinct is that I've messed something up and should reinstall MATLAB. Or should I contact MATLAB support?
3 Commenti
shuaijia heng
il 21 Nov 2024 alle 9:56
How to solve this problem? I had the same problem, but I was running on a win 11 system
Risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!