Can not create MATLAB string without MATLAB runtime being initialized.

2 views (last 30 days)
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.

Answers (0)

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!