is it possible in matlab, to make arrays of a cell matrix, linkable to a special path?(linkable:with clicking on that arrays an special figurue to be shown)
Show older comments
is it possible in matlab, to make arrays of a cell matrix, linkable to a special path?(linkable:with clicking on that arrays an special figurue to be shown)
2 Comments
Fangjun Jiang
on 15 Sep 2011
What special figure? Do you want to plot the array you clicked?
mohammad
on 15 Sep 2011
Accepted Answer
More Answers (2)
mohammad
on 15 Sep 2011
12 Comments
Walter Roberson
on 15 Sep 2011
Again, what do you mean by "clicking" on that? Are you referring to displaying it in the command window and having those fields come out as links? Or are you talking about the variable inspector? Or are you talking about putting things in a uitable ?
mohammad
on 15 Sep 2011
Jan
on 15 Sep 2011
@Moahammad: It is still unclear. How or where can you click on "Find{2,3} in .mat format"? You have shown us a table of strings. Where should this appear? And how can "a.xls" be plotted?
mohammad
on 15 Sep 2011
Walter Roberson
on 15 Sep 2011
You can use a matlab: hyperlink as shown in the blog posting I referenced. In order to output the hyperlinks, some code would have to be run to reformat the display of the cells.
Unfortunately you have not indicated where you are clicking, and until I know that I do not wish to spend speculating about what you might mean.
mohammad
on 15 Sep 2011
Walter Roberson
on 15 Sep 2011
Okay, now how did 'Find' get displayed in the command window?
If you are willing to run code that specially formats the variable and displays it to the command window, that that is practical.
I am, though, a bit unclear on exactly what you want plotted. In your comment above you seem to have two "for" loops. Are there multiple columns in the .xls file? If so then how do you want the multiple columns dealt with?
mohammad
on 15 Sep 2011
Walter Roberson
on 15 Sep 2011
My question is "What action was taken in order to display 'Find' in the command window?"
mohammad
on 15 Sep 2011
Jan
on 15 Sep 2011
@Mohammad: Walter's question is very clear and I'd be interested in the answer also.
mohammad
on 16 Sep 2011
mohammad
on 16 Sep 2011
6 Comments
mohammad
on 16 Sep 2011
mohammad
on 16 Sep 2011
Walter Roberson
on 16 Sep 2011
d={};
d{1,1}=sprintf('<a href="matlab: plot(magic(10))">plot</a>');
d{1,2}=sprintf('<a href="matlab: plot(magic(10))">plot</a>');
d{1,3}=sprintf('<a href="matlab: plot(magic(10))">plot</a>');
mohammad
on 16 Sep 2011
Walter Roberson
on 17 Sep 2011
Don't put in 3 or more commands: write a function that takes two arguments and does the plotting for you. The two arguments would be the two file names to use for that particular plot.
mohammad
on 17 Sep 2011
Categories
Find more on Axis Labels in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!