From: B. Alex on
I create data in a client c# program and pass it to matlab.

The "InvalidCastException was unhandled" error occurs at

matlab.GetVariable ("a", "base");
matlab.PutFullMatrix ("a", "base", pr, pi);

The full code is out of R14SP2 external interfaces documentation "Examples of a MATLAB automation server"
 | 
Pages: 1
Prev: image segmentation
Next: Using xlswrite