MATLAB Examples

Create Singleton Python tuple Variable

This example shows how to create a Python® tuple variable with a single element. A tuple with one element has a trailing comma.

subject = py.tuple({'Biology'})
subject = 

  Python tuple with no properties.

     'Biology',