12-18-2009 02:01 AM
Whenever I use this function in MATLAB, it crashes with a segmentation fault error. There was already a thread about it over a year ago (http://forums.ni.com/ni/board/message?board.id=170&thread.id=289453&view=by_date_ascending&page=2|). Is this problem fixed by now?
I am using the following code:
ppropnames=libpointer('stringPtrPtr',repmat(cellstr(repmat(',',1,255)),1,pnumprops.Value));
err = calllib('nilibddc','DDC_GetFilePropertyNames',file_handle,ppropnames,pnumprops.Value);
I have tried other alternatives for declaring pointers, but none of them seem to work.
12-18-2009 03:07 AM
12-18-2009 11:03 AM
07-12-2011 07:43 AM - edited 07-12-2011 07:43 AM
I am having similar issues returning to a stringPtrPtr. Has a workaround or fix been found for this problem?
07-13-2011 09:32 AM
Hello jyan2
Can you please describe your problem in more detail so I can better address this issue? Is there an error code or pop-up generated when MATLAB crashes? Thank you very much!