Passing C struct out to Matlab space
- From: panabiker <ghuang@xxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 08:59:37 -0700
I have a need to see the content of a struct defined in a C-mex
program. I know there is a Matlab struct and if I really want, I can
copy the members of the C struct to Matlab struct but I really want to
avoid that. I also tried to simply set plhs[0] to the pointer to the
struct and it didn't work. It there a quick and dirty way that allows
one to see what's in a C struct in Matlab space?
.
- Follow-Ups:
- Re: Passing C struct out to Matlab space
- From: us
- Re: Passing C struct out to Matlab space
- From: Praetorian
- Re: Passing C struct out to Matlab space
- Prev by Date: Re: Randomly selecting between two or more numbers
- Next by Date: reading data from a tex file
- Previous by thread: reading data from a tex file
- Next by thread: Re: Passing C struct out to Matlab space
- Index(es):
Relevant Pages
|