How do I display a string from a variable name?
显示 更早的评论
I am having trouble with xlsread. I am having the user input a variable and setting it to Pick. Because the variable i want to display is a string i am having problems with syntax. Here is my code so far. I have tried many different ideas but I cant solve my problem.
Pick = input('Please enter a song ranking from 1 to 50 to see the title artist and album: ')
[~,txt] = SongName(Pick)
Artistname = ArtistName(Pick)
Albumname = AlbumName(Pick)
1 个评论
Rik
2017-10-22
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!