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)
Mostra commenti meno recenti
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 Commenti
Fangjun Jiang
il 15 Set 2011
What special figure? Do you want to plot the array you clicked?
mohammad
il 15 Set 2011
Risposta accettata
Più risposte (2)
mohammad
il 15 Set 2011
12 Commenti
Walter Roberson
il 15 Set 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
il 15 Set 2011
Jan
il 15 Set 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
il 15 Set 2011
Walter Roberson
il 15 Set 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
il 15 Set 2011
Walter Roberson
il 15 Set 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
il 15 Set 2011
Walter Roberson
il 15 Set 2011
My question is "What action was taken in order to display 'Find' in the command window?"
mohammad
il 15 Set 2011
Jan
il 15 Set 2011
@Mohammad: Walter's question is very clear and I'd be interested in the answer also.
mohammad
il 16 Set 2011
mohammad
il 16 Set 2011
6 Commenti
mohammad
il 16 Set 2011
mohammad
il 16 Set 2011
Walter Roberson
il 16 Set 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
il 16 Set 2011
Walter Roberson
il 17 Set 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
il 17 Set 2011
Categorie
Scopri di più su Axis Labels in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!