Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Is it possible to use an argument in order to choose which excel file should be imported
2 ビュー (過去 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!