google

google.m is a simple shell interface to initiate Google search in Matlab.

現在この提出コンテンツをフォロー中です。

google.m is a shell interface to initiate Google search and display first few results in Matlab Command Window. The function treats varargin as the query word(s) and uses regular expression to analyze the text returned by Google. One of the fun parts is you can type typos, since Google corrects spelling.

google.m keeps cache so to prevent bugging Google from the same query. It always displays cache result. Users are allowed to clear the cache.

google.m is inspired by goosh. (goosh.org)

Example usage:
google mathworks
google matlab file xechange
google matlab chaowei chen

exit a search by hitting "Enter" 3 times.

Other notes:
1. only tested in Windows environment.
Mac users may need to revise filesep.
2. May require to obtain a Google API key
3. cautions from cprintf if used.

引用

Chaowei Chen (2026). google (https://jp.mathworks.com/matlabcentral/fileexchange/41042-google), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: cprintf - display formatted colored text in Command Window

ヒントを与えたファイル: SEARCH: Web search from the command line

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.1.0.0

included an action script, so you can open a URL without leaving your hand from the keyboard.

1.0.0.0