Info
此问题已关闭。 请重新打开它进行编辑或回答。
Is it possible to use an argument in order to choose which excel file should be imported
1 次查看(过去 30 天)
显示 更早的评论
I need to import a database depending on an input argument. If a user chooses 'x' as a parameter being studied, I would like to import the 'x' excel database which contains the information to be analysed. Is this possible?
0 个评论
回答(1 个)
Walter Roberson
2016-9-5
which_file = input('Name a database', 's');
[num, txt, raw] = xlsread(which_file);
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!