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)
古いコメントを表示
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 件のコメント
Fangjun Jiang
2011 年 9 月 15 日
What special figure? Do you want to plot the array you clicked?
mohammad
2011 年 9 月 15 日
採用された回答
その他の回答 (2 件)
mohammad
2011 年 9 月 15 日
12 件のコメント
Walter Roberson
2011 年 9 月 15 日
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
2011 年 9 月 15 日
Jan
2011 年 9 月 15 日
@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
2011 年 9 月 15 日
Walter Roberson
2011 年 9 月 15 日
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
2011 年 9 月 15 日
Walter Roberson
2011 年 9 月 15 日
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
2011 年 9 月 15 日
Walter Roberson
2011 年 9 月 15 日
My question is "What action was taken in order to display 'Find' in the command window?"
mohammad
2011 年 9 月 15 日
Jan
2011 年 9 月 15 日
@Mohammad: Walter's question is very clear and I'd be interested in the answer also.
mohammad
2011 年 9 月 16 日
mohammad
2011 年 9 月 16 日
6 件のコメント
mohammad
2011 年 9 月 16 日
mohammad
2011 年 9 月 16 日
Walter Roberson
2011 年 9 月 16 日
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
2011 年 9 月 16 日
Walter Roberson
2011 年 9 月 17 日
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
2011 年 9 月 17 日
カテゴリ
ヘルプ センター および File Exchange で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!