How to let the user input an excel file (i.e .csv file) and array in MATLP APP Designer
6 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to design Matlab App Designer. I want my user to input an excel file and arrays. Is that possible? If yes, please help how to do it or share a reference that would help me.
Thanks
1 个评论
Cameron
2023-1-6
Yes it is possible, but your question is fairly open ended. What specifically do you want to do? Do you want to push a button and insert an Excel file? I'm also not sure what you mean by input arrays unless you mean using Excel to input an array.
采纳的回答
Kevin Holly
2023-1-6
Attached are two examples of apps opening Excel files.
4 个评论
Kevin Holly
2023-1-9
编辑:Kevin Holly
2023-1-9
- I have attached the required file. I made this app to answer someone's else question. For your application, I would pay attention to the readtable function to import your data.
- Your data didn't meet the if condition that are found in the "Generate Plot" pushbutton's callback function. You can edit this callback in App Designer by right clicking the "Generate Plot" button while in the Design View and select Go to GeneratePlotButtonPushed callback.
- Yes, readtable accepts .csv files
Let me know if you have additional questions.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!