Getting responses from a website

2 visualizaciones (últimos 30 días)
Connor Linnin
Connor Linnin el 22 de Abr. de 2022
Respondida: Suraj el 4 de Oct. de 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.

Respuestas (1)

Suraj
Suraj el 4 de Oct. de 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.

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by