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)
Afficher commentaires plus anciens
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 commentaires
Fangjun Jiang
le 15 Sep 2011
What special figure? Do you want to plot the array you clicked?
mohammad
le 15 Sep 2011
Réponse acceptée
Plus de réponses (2)
mohammad
le 15 Sep 2011
12 commentaires
Walter Roberson
le 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
le 15 Sep 2011
Jan
le 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
le 15 Sep 2011
Walter Roberson
le 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
le 15 Sep 2011
Walter Roberson
le 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
le 15 Sep 2011
Walter Roberson
le 15 Sep 2011
My question is "What action was taken in order to display 'Find' in the command window?"
mohammad
le 15 Sep 2011
Jan
le 15 Sep 2011
@Mohammad: Walter's question is very clear and I'd be interested in the answer also.
mohammad
le 16 Sep 2011
mohammad
le 16 Sep 2011
6 commentaires
mohammad
le 16 Sep 2011
mohammad
le 16 Sep 2011
Walter Roberson
le 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
le 16 Sep 2011
Walter Roberson
le 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
le 17 Sep 2011
Catégories
En savoir plus sur Graphics Performance dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!