Matlab and Google Sheet Compatibility
조회 수: 19 (최근 30일)
이전 댓글 표시
Hi, Matlab is one of the most used languages in the world such is Google in terms of on-line products. So i guess you have now all understood what question I am going to ask
Despite I have been using Matlab for many years now, my experience with Matlab online is limited to sending an email through my Google email account.
So I wish to find out what are the basics principles and commands to create, write/update Google sheets from a computer with Matlab and internet connection and a Google account obviously. *If any specific commands exit *
However, my "googling" + the Mathworks website have not given me information at all (a part this link,
but the comments left on it do not seems to be promising) and this is actually surpricing for m so my question is then for this community.
Thanks in advance to all of you
Cheers
G
댓글 수: 0
채택된 답변
Jim Hokanson
2015년 3월 13일
To work with Google Sheets, you would need to use their API.
This API is language agnostic and communication is via HTTP.
The tricky part then is sending the correct HTTP requests. You can use urlread to send HTTP requests or my FEX submission which gives you a bit better control:
That being said, you still need to implement OAUTH2, which is much easier than OAUTH1 but still not trivial.
On Windows you can use a program called Fiddler to observe the HTTP traffic between Matlab and any client you are sending requests to if you want to get a better feel for how HTTP requests work.
Ultimately I think the best way forward with this is to write a wrapper for the Python bindings. Interaction with Python is supported since Matlab 2014b.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!