Getting responses from a website

1 Ansicht (letzte 30 Tage)
Connor Linnin
Connor Linnin am 22 Apr. 2022
Beantwortet: Suraj am 4 Okt. 2023
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.

Antworten (1)

Suraj
Suraj am 4 Okt. 2023
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.

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by