![]() |
How to read a Structure from a matlab file to a structure in Vc++ 2003
Hi NG,
I want to load a structure from a matlab file (*.mat) into vc++. In the best case I would have a matching structure in vc++ to acces the data of the loaded matlab structure. Model.torque.ratio=[1,0.5,0.2,0.1,0], in Matlab should be vector<double> Model.torque.ratio; in VC++; Therefor i tried to use http://www.mathworks.com/matlabcentr...bjectType=FILE , Is there anybody who wrote a function to create a struct out of matlab data? Maybe there are other ways to read mat files in vc++? Best regards Patrick |
Re: How to read a Structure from a matlab file to a structure inVc++ 2003
meisterbartsch wrote:
> I want to load a structure from a matlab file (*.mat) into vc++. In > the best case I would have a matching structure in vc++ to acces the > data of the loaded matlab structure. > > [redacted] > > Is there anybody who wrote a function to create a struct out of > matlab data? We had to do it at my previous job, and no, I can't share the code, the previous employer owns the rights, I don't have permission (or even remember the specifics). That said, read the MATLAB docs. All the info you need is there. |
Re: How to read a Structure from a matlab file to a structure in Vc++ 2003
On 12 Jun., 17:39, red floyd <no.s...@here.dude> wrote:
> meisterbartsch wrote: > > I want to load a structure from a matlab file (*.mat) into vc++. In > > the best case I would have a matching structure in vc++ to acces the > > data of the loaded matlab structure. > > > [redacted] > > > Is there anybody who wrote a function to create a struct out of > > matlab data? > > We had to do it at my previous job, and no, I can't share the code, the > previous employer owns the rights, I don't have permission (or even > remember the specifics). > > That said, read the MATLAB docs. All the info you need is there. Thank you for your quick answer, I am going to check the docs tomorrow. Patrick |
| All times are GMT. The time now is 03:23 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.