GOOGLE Searches in Google in different search areas (images, groups, etc.)
SYNTAX
google(text)
google(text,'search_area')
google(text,'search_area',param,value,...)
DISCRIPTION
text: User entered text to search for.
search_area: If not specified, then the default is 'web'.
Can be one of the following:
'web': Searches the web.
'images': Searches Google Images.
'groups': Searches Google Groups.
'news': Searches Google News.
'froogle': Searches Froogle.
'scholar': Searches Google Scholar.
'catalogs': Searches Google Catalogs.
if it starts with '+', then it will turn the option of (I'm
Feeling Lucky!) on!
param: Can be one of the following:
'pages':
'lang':
'ext':
USER CONFIGURABLE OPTIONS
Possible param/value options are:
'pages' - search in pages of specific language. Can be:
'ar' Arabic
'bg' Bulgarian
'ca' Catalan
'zh-CN' Chinese (Simplified)
'zh-TW' Chinese (Traditional)
'hr' Croatian
'cs' Czech
'da' Danish
'nl' Dutch
'en' English
'et' Estonian
'fi' Finnish
'fr' French
'de' German
'el' Greek
'iw' Hebrew
'hu' Hungarian
'is' Icelandic
'id' Indonesian
'it' Italian
'ja' Japanese
'ko' Korean
'lv' Latvian
'lt' Lithuanian
'no' Norwegian
'pl' Polish
'pt' Portuguese
'ro' Romanian
'ru' Russian
'sr' Serbian
'sk' Slovak
'sl' Slovenian
'es' Spanish
'sv' Swedish
'tr' Turkish
'lang' - google page language. Can be one of the above.
'ext' - (country domain extension)
(ex, 'ae','us','uk','br','it','fr','mx','nl',... etc)
Examples:
google('Nasa Shuttle')
google('Nasa Shuttle','News')
google('free download','web')
google('free download','+web')
google('simpsons','images')
google('simpsons','images','pages','se')
google('Nasa Shuttle','web','ext','AE')
google('Nasa Shuttle','web','lang','fr')
google('Nasa Shuttle','web','lang','fr','pages','fr','ext','FR')
Citation pour cette source
Fahad Al Mahmood (2024). google (https://www.mathworks.com/matlabcentral/fileexchange/6535-google), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Data Import and Analysis > Data Import and Export > Web Access and Streaming > Web Services >
- MATLAB > External Language Interfaces > Other languages > Google >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Added options for languages, and specific country domain search. |