Filter löschen
Filter löschen

Why do I see the error "Caught unexpected fl::except​::IInterna​lException​" when using the "plot" function?

15 Ansichten (letzte 30 Tage)
When I have a plot function in my code it does not plot. Instead it gives this error:
ERROR : Caught unexpected fl::except::IInternalException
What does this mean and how is it fixed?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 26 Feb. 2018
This error might appear if you have another function named "plot" on your path. Execute the following line to identify all functions named "plot" on your path.
>> which -all plot
If there is a user-defined function listed above the built-in, it may need to be renamed or removed from your path.
Note that you may see a number of other plot functions that are located in the MATLAB install directory. This is expected. They implement specific functionality for other built-in classes.
  1 Kommentar
Walter Roberson
Walter Roberson am 9 Aug. 2018
There was a run of people for which it was due to namespace issues/ The driver version of it only seems to have cropped up with some ubuntu.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Avra Mitra
Avra Mitra am 7 Apr. 2018
Well, for me, it happened due to the graphics driver issue. The OS is ubuntu 16.04 LTS. To solve this problem, type:
opengl info
There, Matlab will give you low-level graphics troubleshooting methods.
The method of starting Matlab with software OpenGL solved my problem:
rik@ideapad:~$ matlab -softwareopengl

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by