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

1 vue (au cours des 30 derniers jours)
cui,xingxing
cui,xingxing le 8 Août 2022
Modifié(e) : cui,xingxing le 8 Août 2022
" 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?

Réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by