|
|
How to get a String?
Hello you all,
Can anyone know how to get a string from a matlab C dll? I'm using
mxGetString(), but it's not working...
Thanks
|
|
0
|
|
|
|
Reply
|
manuela.cotrim (39)
|
12/2/2009 2:10:34 PM |
|
plim <manuela.cotrim@gmail.com> wrote in message <8820b767-224d-4447-8f18-b7b91c810eac@r24g2000yqd.googlegroups.com>...
> Hello you all,
>
> Can anyone know how to get a string from a matlab C dll? I'm using
> mxGetString(), but it's not working...
>
> Thanks
well...
WHAT - exactly - is not working(?)...
us
|
|
0
|
|
|
|
Reply
|
us
|
12/2/2009 2:20:23 PM
|
|
Hi.
a piece of my code
mlfFoo(1, &y_ptr,&error_msg, data);
y =3D mxGetPr(y_ptr);
buflen =3D mxGetM(error_msg)*sizeof(mxChar)+1; //LINE ERROR
buf =3D (char*)mxMalloc(buflen);
/* Copy the string data into buf. */
status =3D mxGetString(error_msg, buf, buflen);
It displays the following in LINE ERROR:
"Unhandled exception at 0x7ad61df7 in test.exe: 0xC0000005: Access
violation reading location 0xcccccce4."
Thanks a lot
On Dec 2, 2:20=A0pm, "us " <u...@neurol.unizh.ch> wrote:
> plim <manuela.cot...@gmail.com> wrote in message <8820b767-224d-4447-8f18=
-b7b91c810...@r24g2000yqd.googlegroups.com>...
> > Hello you all,
>
> > Can anyone know how to get a string from a matlab C dll? I'm using
> > mxGetString(), but it's not working...
>
> > Thanks
>
> well...
> WHAT - exactly - is not working(?)...
>
> us
|
|
0
|
|
|
|
Reply
|
plim
|
12/2/2009 3:25:50 PM
|
|
|
2 Replies
300 Views
(page loaded in 0.47 seconds)
Similiar Articles: How to get a String? - comp.soft-sys.matlabHello you all, Can anyone know how to get a string from a matlab C dll? I'm using mxGetString(), but it's not working... Thanks ... How do i get string representation of a number - comp.lang.java ...In my application, i want to transfer a bill amount in word representation. Example, Number is 1,12,23,453 and i want to dispaly "one crore twelve l... How can i get the first letter of this string - comp.lang.ruby ...Hello, i'm a newbie. I have a question that how can i get the first letter of this string: "=C3=A1 is the first letter". my solution: >> string =... How to get the date format from the users locale? - comp.lang ...How to get a String? - comp.soft-sys.matlab How to get the date format from the users locale? - comp.lang ... How to get a String? - comp.soft-sys.matlab How to get the ... how to extract from strings - comp.unix.programmerI'm trying to write a shell script that will kill a unix process. To get the process number I want the script to call "ps -ef | grep " and then I need... putting a space in string created with strcat - comp.soft-sys ...Hello, I'm trying to create a string with strcat but inserting a space in the middle.. does anyone know how to get this done? the space always dissap... Re: Put to split a string into two lines ? - comp.soft-sys.sas ...How to get a String? - comp.soft-sys.matlab Re: Put to split a string into two lines ? - comp.soft-sys.sas ... How to get a String? - comp.soft-sys.matlab Re: Put to split ... web application: how to get the currently logged in user? - comp ...Dave Vick wrote: > Stephan: > > This'll do it for you: > String userSystemName = System.getProperty("user.name"); > Did you test this? I wonder to know how a software ... Weak SNMP community "public" string - comp.unix.solarisWe have an older 4-port cyclade, i.e., Cyclade-TS800. Any idea where we could get assistance on resolving the weak SNMP community public string. search for a string in a file using expect.. - comp.lang.tcl ...Hi, I want to grep for a particular string in a file and get the value next to it. My data: user1: 11111111 user2: 22222222 code ===== se... Minecraft: How to Get UNLIMITED String, Feathers, Arrows and ...yup. hurr it is! Tags: yt:quality=high minecraft alpha Minecraft Alpha notch spider spiders skeleton skeletons zombie zombies lumber wood coal stone torch ... How to Get String in "Minecraft" Without Killing Spiders | eHow.comString is an essential material in "Minecraft." It is used to make wool, fishing rods and bows. Killing spiders is the only way to obtain string. For the many players ... 7/25/2012 8:49:06 PM
|
|
|
|
|
|
|
|
|