Info

This question is closed. Reopen it to edit or answer.

How to get a take a 2D matrix as output in c# using a class generate in matlab?

1 view (last 30 days)
Hi everyone,
I want to take a 2D matrix as output using the Class ReComposer. The variable "Line" which is paased into the function is also a 2D array of type double.
double[,] RecomposedLine = new double[numJ, numK]; RecomposedLine= ((MWNumericArray)ReComposer.main_function(Lines)).ToScalarDouble;
I tried using MW array but it didnt worked. It gives following error.
Error : Cannot convert method group 'ToScalarDouble' to non-delegate type 'double[*,*]'. Did you intend to invoke the method?

Answers (0)

Community Treasure Hunt

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

Start Hunting!