MCPcopy Create free account
hub / github.com/Apress/python-for-matlab-development / nested_var

Function nested_var

code/matlab_py/demo_py2mat.py:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 N = F*np.arange(12).reshape(3,4)
39 return I, F, S, L, D, T, N
40def nested_var():
41 N = np.arange(12).reshape(3,4)
42 return [1, 2.2, 'green',
43 {'A' : 65, 'B' : 66,
44 'N' : N,
45 'Z' : (225, 'blue')},
46 27.8]
47def arrays():
48 arr_int8 = np.array([1, 2], dtype=np.int8)
49 arr_uint8 = np.array([1, 2], dtype=np.uint8)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected