Extract MATLABArray data return from Matlab dll in c# with new DATA API for dotnet
Show older comments
Built a Matlab dll, a struct is returned from some calcuation of a matlab function.
In the old MWArray data API, I can access the data by extract and marshal it to MWNumericArray.
In the new DATA API for DotNet, I can get the field of the struct data but it is in the {MathWorks.MATLAB.Types.MATLABArray}, how can I extract this array data in C#.
5 Comments
Shaojun Xiao
on 16 Apr 2024
Shaojun Xiao
on 1 May 2024
Edited: Shaojun Xiao
on 1 May 2024
Shaojun Xiao
on 8 May 2024
Edited: Shaojun Xiao
on 8 May 2024
Shaojun Xiao
on 8 May 2024
Shaojun Xiao
on 9 May 2024
Accepted Answer
More Answers (0)
Categories
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!