Can not create MATLAB string without MATLAB runtime being initialized.

1 vue (au cours des 30 derniers jours)
Chuguang Pan
Chuguang Pan le 26 Mar 2022
Commenté : Eddy le 26 Oct 2022
I create a .NET assembly using a function written in MATLAB. When I want to create a MATLAB String using MWStringArray Class, it generate a exception "Can not create MATLAB string without MATLAB runtime being initialized", but using MWCharArray Class is successful.
  1 commentaire
Eddy
Eddy le 26 Oct 2022
Have you solved this problem? I'm facing the same problem...

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB Compiler SDK dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by