Getting responses from a website

조회 수: 2 (최근 30일)
Connor Linnin
Connor Linnin 2022년 4월 22일
답변: Suraj 2023년 10월 4일
Hello,
Im trying to be able to insert text into a box on a website, through matlab, and then get the websites responce back to matlab all through running a .m file. As of now all the infomation I can get on this topic is about 'url' which, as to my knowledge, has been replaced by 'web' comands or has to be done through downloading different matlab extensions. Is there a way to comunicate with, and have matlab show the responce from a website without these extensions?
The webiste im using is "https://www.fourmilab.ch/documents/calendar/" and im trying to enter in a date and get the converted date to be shown by matlab.

답변 (1개)

Suraj
Suraj 2023년 10월 4일
Hi Connor,
I understand that you'd like to use MATLAB to open and interact with a website. The website you've mentioned ( https://www.fourmilab.ch/documents/calendar/ ) looks like a tool to convert a date into various formats such as Julian, Islamic and Persian calendar dates.
I suggest that you check out MATLAB documentation and File Exchange for scripts or functions that can perform such date conversions. Here are a few links that I think you might find helpful:
  1. "juliandate()" function: https://www.mathworks.com/help/matlab/ref/datetime.juliandate.html
  2. "Date Converter: Gregorian, Persian, and Islamic calendars" on File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/67221-date-converter-gregorian-persian-and-islamic-calendars
I hope this helps!
Best regards,
Suraj.

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by