npa = pystringarray(mla)
converts the specified MATLAB® string array to a NumPy StringDType array. This function
requires NumPy 2.0 or a later release.
npa =
Python ndarray:
[['sandwich' 'salad' None]
['samosa' 'soup' 'sushi']]
Use details function to view the properties of the Python object.
Use string function to convert to a MATLAB array.