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에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!