Run Matlab 2019b Assembly within .Net Core 3.0 Application throws exception

1 view (last 30 days)
Hello,
i want to use the Matlab Runtime with a Compiler SDK Assembly within a .Net Core 3.0 Application.
I´m using the same .dll within a .Net Framework 4.6.2 Application and its working just fine.
Now when declaring a variable like:
var phi_ref = new MWNumericArray((double[])this.Inputs[0].Value);
The referenced MWArray.dll throws the following exception:
Message="The type initializer for 'MathWorks.MATLAB.NET.Utility.MWMCR' threw an exception."
Could not load type 'System.Web.UI.WebResourceAttribute' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Is this just a dependency problem or is a Matlab Assembly not compatible with Core 3.0?
Thanks in advance!

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!