getOptions
Description
returns the server options for the options
= getOptions(clientObj
)speechClient
object.
Examples
Configure Server Options for Third-Party Speech Service
Create a speechClient
object that interfaces with the Google speech service.
clientObj = speechClient("Google");
Set the languageCode
server option for speech-to-text transcription.
setOptions(clientObj,"languageCode","en-US");
Use getOptions
to view the server options in the speechClient
object.
options = getOptions(clientObj)
options=1×2 cell array
{'languageCode'} {["en-US"]}
Use clearOptions
to remove the server option from the speechClient
object.
clearOptions(clientObj)
Input Arguments
clientObj
— Client object
speechClient
object
Client object, specified as an object returned by speechClient
. Server options are only valid for client objects that
interface with third-party speech services (Google®, IBM®, Microsoft®, or Amazon®).
Output Arguments
options
— Server options
cell array
Server options, returned as a cell array of name-value pairs in the format
{Name1,Value1,...,NameN,ValueN}
, where Name
is
the server option name and Value
is the value of the option. See the
documentation for the third-party speech service for information about valid server
options.
Version History
Introduced in R2023a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)