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!