水木社区手机版
首页
|版面-数学工具(MathTools)|
新版wap站已上线
返回
1/1
|
转到
主题:matlab 的string 类型怎么提取?
楼主
|
zhanghaoX
|
2022-06-25 16:45:55
|
只看此ID
string 存在mat里,
用c接口取,怎么从mxArray 中得到数据?
。
--
FROM 124.64.17.*
1楼
|
xixihaha2019
|
2022-06-26 13:35:00
|
只看此ID
https://www.mathworks.com/help/matlab///cc-mx-matrix-library.html
看看这个?
【 在 zhanghaoX 的大作中提到: 】
: string 存在mat里,
: 用c接口取,怎么从mxArray 中得到数据?
:
: 。
: --
:
发自「今日水木 on iPhone 12 mini」
--
FROM 101.82.166.*
2楼
|
xixihaha2019
|
2022-06-26 13:50:18
|
只看此ID
https://www.mathworks.com/matlabcentral/answers/487119-how-to-load-a-string-array-from-a-mat-file-using-c-or-c-api
实在不好弄在matlab里把string转成char或者cell然后用c提取
【 在 zhanghaoX 的大作中提到: 】
: string 存在mat里,
: 用c接口取,怎么从mxArray 中得到数据?
:
: 。
: --
:
发自「今日水木 on iPhone 12 mini」
--
FROM 101.82.166.*
3楼
|
zhanghaoX
|
2022-06-27 14:24:48
|
只看此ID
看来最好是这样弄了。
。
【 在 xixihaha2019 的大作中提到: 】
:
https://www.mathworks.com/matlabcentral/answers/487119-how-to-load-a-string-array-from-a-mat-file-using-c-or-c-api
:
: 实在不好弄在matlab里把string转成char或者cell然后用c提取
: ...................
--
FROM 114.254.3.*
1/1
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版