MATLAB: C++ pointers and variables

c

Dear experts,
I am trying to convert the following C++ code to a matlab code:
double buffer = 72.0;
double *pBuffer = &buffer;
t = sizeof(buffer));
Does anyone know to solve this question?
Thank you in advance.
Carlos

Best Answer

buffer = 72;
You do neither need a pointer in Matlab nor does the the size of the type matter.
Related Question