what's the difference between these matlab data API strings functions?

조회 수: 4 (최근 30일)
cui,xingxing
cui,xingxing 2022년 8월 8일
편집: cui,xingxing 2022년 8월 8일
" matlab::data::MATLABString" ,"matlab::data::String", "matlab::engine::String","factory.createArray<MATLABString>" ... have some some similarities,these were introduced in R2017b onwards, do they have some applicable scenarios? How should these be convert to std::string each other, which is said to be (UTF-16 string) in matlab and (UTF-8 string) in std::string in c++?
I know matlab::engine::String convert to std::string each other by "convertUTF8StringToUTF16String" or "convertUTF16StringToUTF8String",but " matlab::data::MATLABString" ,"matlab::data::String" how to convert to std::string each other?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by