How to call a MATLAB Builder NE function with a struct as input

1 view (last 30 days)
I have built a .NET dll with MATLAB Builder NE which has a funtion "MPCSolve". This function takes a struct "problem" as input. The struct contains vectors of different lengths. The output of the function are two structs and one scalar value. Compilation and add as reference in Visual Studio works. But I don't know how to construct the struct "problem" to call the function. How do I define this struct? I think it has to be a MWArray type.

Answers (0)

Categories

Find more on MATLAB Compiler SDK 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!