Cannot display summaries of variables with more than 524288 elements

using imread fucntion to read a RGB 2000x2000x3unit image. But when i trying to see the values of the specified image in workspace i am getting this error. "Cannot display summaries of variables with more than 524288 elements. " Please see the snap of the problem.

 Accepted Answer

Jan
Jan on 21 Oct 2017
Edited: Jan on 21 Oct 2017
This is not an error. Viewing a large 3D array as a table in the Workspace browser is simply not useful and avoided in consequence.
Use e.g. the image command to display the data.
By the way: Please search in the forum before asking. You find several equivalent questions, such that it is more efficient to read them instead of posting a new question:

6 Comments

You didn't actually answer the question...
@Andy Cheng: To be exact, the OP did not even ask a question, but explained an observartion. I've just confirmed, that his observation is correct and matchs the purpose of the used tool.
If there is an implicit question "How do I configure MATLAB so that the variable browser will display arrays with more than 2^19 elements?", then the answer is:
"See https://www.mathworks.com/company/jobs/opportunities.html for Mathworks job opportunities. Get a job there, and get your supervisor to agree to permit you to change the limit for later MATLAB releases. This might include having to work around Java limitations in the last public JRE release, as Mathworks does not intend to upgrade into the JRE releases that require users to get a Java subscription from Oracle.
There is no user-accessible way to change the limit, which is hard-coded by Mathworks."
Consider extracting a subset of the array and examing the subset.
Someone might not see the posted question if he asks one. Don't blame others, I appreciate your answer, but the way you phrased it really disgusts me.
@Pengxiang Huang: Feel free to write your own answers instead of judging others.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Asked:

on 21 Oct 2017

Commented:

Jan
on 22 Sep 2021

Community Treasure Hunt

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

Start Hunting!