AnsweredAssumed Answered

Mosel (Xpress) to Matlab Data Exchange of 2-dim. array

Question asked by nikolai.hein on Sep 17, 2017
Latest reply on Sep 24, 2017 by nikolai.hein

Hey Community,


I want to exhange data between a Mosel code and Matlab. I already managed to send data from Matlab to Xpress, started the Mosel code and can send data from Xpress to Matlab (via the Xpress Matlab Interface). But only one dimensional arrays. Is it possible to send two dimensional arrays to matlab via the "initializations to" command?

I know it is possible to write the output into a .dat file and read it with Matlab, but i can not use this method because i want to use parallel loops in matlab, which read in the data.


Thanks for your help!