MATLAB Answers

Is it possible to handle very large data using LibPointer ?

2 views (last 30 days)
I am using the lib pointer library to manage some data communitation with some external c library.
But It seems like anything beyond an int32 in size raises the following error :
Maximum variable size allowed by the function is exceeded
I'm not able to find any documentation on the matter so i'm not sure whether this is an expected behaviour ?
If this is the library's limitations do you know of any work around that I can use to solve my problem ?


Sign in to comment.

Accepted Answer

Kiran Felix Robert
Kiran Felix Robert on 9 Oct 2020
Hi Salima,
Refer to the setdatatype documentation, and this answer for an example for changing the libpointer data type. Also refer the lib.pointer documentation for an example for retrieving the details about the pointer.
Setting a proper datatype might resolve your error.
Kiran Felix Robert


Sign in to comment.

More Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!