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')
Cite As
Fahad Al Mahmood (2024). google (https://www.mathworks.com/matlabcentral/fileexchange/6535-google), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Added options for languages, and specific country domain search. |