I want to display name of variable in msgbox instead of its value. for example;
Show older comments
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 "
Answers (2)
Stalin Samuel
on 3 Nov 2014
0 votes
msgbox('The minimum value is of d3 ')
Categories
Find more on Data Type Identification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!