Can not create MATLAB string without MATLAB runtime being initialized.
2 views (last 30 days)
Show older comments
Chuguang Pan on 26 Mar 2022
Commented: Eddy on 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.
Find more on Deploy to .NET Applications Using MWArray API in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!