Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有个问题。我有一个清单
L1 - {'a','b','c'} L2 - {'d','e','f'}
我将 L1 和 L2 存储在一个单独的列表中,以便我可以遍历它,即
X - {'L1','L2'}
现在,我无法执行此操作 X{1}{1}。有人知道替代方案吗?
我需要访问元素'a'
要创建单元格数组X,您需要编写
X
X = {L1,L2};
然后就可以访问了X{1}{1}
X{1}{1}