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.
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.