Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: cstring variable not updated
Replies: 2   Last Post: Sep 23, 2013 10:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Curious

Posts: 1,986
Registered: 12/6/04
Re: cstring variable not updated
Posted: Sep 11, 2013 10:23 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Marco " <marco.sanitate@gmail.com> wrote in message <l0pgt3$m7f$1@newscl01ah.mathworks.com>...
> Hi,
> I'm using Matlab 2009b to pilot a IR camera (Gobi 640 CL from Xenics) associated with an Euresys framegrabber (Gablink Base). I load a shared library ant try to use the function:
>
> [ulong, cstring, cstring] XC_GetPropertyValue(int32, cstring, cstring, int32).
>
> The third argument (cstring) should be a pointer that will receive a value (in particular the sensor Device Temperature). The script runs without errors or warnings but the variable seems to be not updated (it remains empty).
> what could be the probleam?
>
> Thank you,
> Marco.
>
> (to pass the pointer i use:
> tp=[];
> tpp=libpointer('cstring',tp); )
>


Withou knowing what's in XC_GetPropertyValue
I'm not sure how anyone can answer your question.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.