필터 지우기
필터 지우기

Access Excel-File stored in Microsoft OneDrive

조회 수: 22 (최근 30일)
Sebastian Stumpf
Sebastian Stumpf 2024년 2월 9일
댓글: Sebastian Stumpf 2024년 4월 12일
Hello all,
I have an Excel-File which is stored in Microsoft OneDrive, but no locally. I have the web-link which leads to the Excel-File. How can I access and store the data in my Matlab Workspace?
xlsread is not working and also websave does not do what I want.
Which code or function may help me to achieve this?
I am using matlab R2023b.
Thank you very much for your help.
Kind regards,
Sebastian
  댓글 수: 4
Dyuman Joshi
Dyuman Joshi 2024년 2월 9일
Could you share the file or the link to it?
Also, please share what the expected output is.
Sebastian Stumpf
Sebastian Stumpf 2024년 2월 27일
Hello,
sorry for the late response. I was on vacation. Please find the link here: LiftCalc License.xlsx
I expect a Matlab Table to look like this:
Thank you for the support.
Kind regards,
Sebastian

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

채택된 답변

Walter Roberson
Walter Roberson 2024년 2월 9일
You need to first use websave() or urlread() to read the contents of the file into local memory.
  댓글 수: 4
Sebastian Stumpf
Sebastian Stumpf 2024년 2월 28일
Ok, I understand. This is bad news. Do you have any other idea how to create an Excel-File or similiar table and store it online but in a way that Matlab can access the information stored in this online-table? Reading is enough. No need to write something from Matlab to the table. Thanks
Sebastian Stumpf
Sebastian Stumpf 2024년 4월 12일
I figuered out, that it's working with DropBox. If you have a public link and change the last value db=0 to db=1, you can access the files directly.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by