필터 지우기
필터 지우기

How to let the user input an excel file (i.e .csv file) and array in MATLP APP Designer

조회 수: 4 (최근 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
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
Kevin Holly 2023년 1월 6일
Attached are two examples of apps opening Excel files.
  댓글 수: 4
Kevin Holly
Kevin Holly 2023년 1월 9일
편집: Kevin Holly 2023년 1월 9일
  1. 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.
  2. 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.
  3. Yes, readtable accepts .csv files
Let me know if you have additional questions.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by