matlab将元胞数组转为字符串
时间: 2023-10-12 22:04:13 浏览: 322
你可以使用函数`cellstr`将元胞数组转换为字符串。具体使用方法如下:
```matlab
A = {'1','wang';'2','yonglin'};
B = cellstr(A);
```
以上代码将把元胞数组`A`转换为字符串数组`B`。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [matlab实现cell转str(元胞数组转字符)](https://blog.csdn.net/win2000_li/article/details/110688807)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [matlab,将元胞数组转字符串](https://blog.csdn.net/guangjie2333/article/details/88924307)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文