Problem with imshow command in MATLAB R2012a

1 view (last 30 days)
Problem with imshow command in MATLAB R2012a
Error: imshow is undefined function (Licence checkout error -96)

Answers (1)

Walter Roberson
Walter Roberson on 4 Sep 2021
In R2012a time frame, I think imshow() was still part of the Image Processing Toolbox, and so would require checking for a license for that toolbox to run.
According to that error message, your system is configured to check a license server for additional toolbox licenses. However, the hostname that is listed in the license information is one that name server lookup fails for, such as if the name of it had changed.
You have to locate the place that is directing you to a license server, and change the host name to the correct host name where the license server is... assuming that you should be using a license server and it isn't just a case that your license information is misconfigured.
Or... you could replace the calls to imshow() with calls to image() and possibly colormap() as well

Categories

Find more on Platform and License in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!