Google(R) Translate

バージョン (3.7 KB) 作成者: Michael Katz
Translates a string between languages using Google(R)'s Language API.

ダウンロード 3.1K 件

更新 2016/9/1


This file uses MATLAB(R)'s web services with Google's AJAX Language Translation API to take one string and translate it to anther:
For example to translate a string to Sweedish:

>> gtranslate('Good morning Mr. Peterson, how is your cat?','sv')

ans =

God morgon Mr Peterson, hur är din katt?

You can specify source (default is English) and destination languages using the two-letter codes.

Note that the default character encoding may make some languages (Russian, Japanese, etc) unrenderable.


Michael Katz (2022). Google(R) Translate (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
Windows macOS Linux

ヒントを得たファイル: (another) JSON Parser

ヒントを与えたファイル: Translate strings from one language to another

Community Treasure Hunt

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

Start Hunting!