CoreML.AddTextParameter
-----------------------

Adds a text parameter.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CoreML](component_CoreML.md) | [7.4](newinversion74.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "CoreML.AddTextParameter"; CoreMLRef; Name; Value ) 

**MBS**( **"CoreML.AddTextParameter";** /\* Adds a text parameter. \*/  
**$CoreMLRef**; /\* The reference number to the model.e.g. $Model \*/   
**$Name**; /\* The name of the parameter.e.g. "test" \*/   
**$Value**) /\* The text value to use.e.g. "Hello" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| CoreMLRef | The reference number to the model. | $Model |
| Name | The name of the parameter. | "test" |
| Value | The text value to use. | "Hello" |

### Result

Returns OK or error.

### Description

Adds a text parameter.  
### See also

- [CoreML.AddArrayParameter](CoreMLAddArrayParameter.md)
- [CoreML.AddDoubleParameter](CoreMLAddDoubleParameter.md)
- [CoreML.AddImageParameter](CoreMLAddImageParameter.md)
- [CoreML.AddIntegerParameter](CoreMLAddIntegerParameter.md)

This function checks for a license.

Created 16th September 2017 , last changed 16th September 2017

  
[CoreML.AddIntegerParameter](CoreMLAddIntegerParameter.md) - [CoreML.AddUndefinedParameter](CoreMLAddUndefinedParameter.md)

[HTML Version](CoreMLAddTextParameter.shtml)