google

Shortcut for web searching using Google's different search areas (images, groups, etc.).
4K Downloads
Updated 23 Dec 2004

View License

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
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Added options for languages, and specific country domain search.