I need to add the names of the players in of my game in my gui.
Show older comments
Okay so I am trying to use the input function.......
%x=input('Put the name of player 1:')
and then
set(handles.uipanel1,'title','x')
%assuming I want to change panel 1's title to the players name..... When I enter the name for player 1 in the comand window it says undefined function or variable......
Any suggestions??
Accepted Answer
More Answers (0)
Categories
Find more on Strategy & Logic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!