I want to display name of variable in msgbox instead of its value. for example;
古いコメントを表示
I want to display name of variable in msgbox instead of its value. for example;
d1=3 ; d2=5 ; d3=2 y = [d1 d2 d3]; x=min(y); % 2
% The minimum value coressponds to d3
msgbox('????????')
msgbox should display " The minimum value is of d3 "
回答 (2 件)
Stalin Samuel
2014 年 11 月 3 日
0 投票
msgbox('The minimum value is of d3 ')
カテゴリ
ヘルプ センター および File Exchange で Data Type Identification についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!