MATLAB Answers

Displaying images from cell arrays in app designer

7 views (last 30 days)
Pranaya Kansakar
Pranaya Kansakar on 22 May 2020
Edited: Pranaya Kansakar on 22 May 2020
I have a cell array whose cells contains images and I am trying to individually display the images in app designer.
I have tried the following code in app designer:
cellarray = uigetfile('*.*;');
Z = {cellarray,1};
c = imread(Z);
Here, I save a cell array as a .mat file which I try to open in an app.
However, it says that brace indexing is not supported.
I'm confused as the indexing in line 2 of the code above would work in the baseline MATLAB workspace but it doesn't seem to work in app designer?
Thanks for your help.


Sign in to comment.

Answers (0)

Translated by