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

1 visualización (últimos 30 días)
" 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?

Respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by