From: Tony Kirke on 11 Aug 2010 15:16 Hi, I know how to save multiple vectors, scalars, etc to a .mat file from C/C++ code. But can I save a structure of variables so that when I load in matlab I will see that same structure? Obviously each variable can be written but how to tell the file that it is not a global variable but part of a structure? thanks
From: dpb on 11 Aug 2010 15:40 Tony Kirke wrote: > Hi, > I know how to save multiple vectors, scalars, etc to a .mat file from > C/C++ code. > But can I save a structure of variables so that when I load in matlab I > will see that same structure? Obviously each variable can be written but > how to tell the file that it is not a global variable but part of a > structure? > thanks That's what mex file interfaces are for. They present an API to interface to the Matlab data structures. --
|
Pages: 1 Prev: Image fusion using PCA Next: GUI performance optimisation |