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 Center および File ExchangeDates and Time についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by