MATLAB Examples

Create Python tuple Variable

This example shows how to create a tuple variable to pass to a Python® function.

student = py.tuple({'Robert',19,'Biology'})
student = 

  Python tuple with no properties.

     'Robert', 19.0, 'Biology'