Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assignment from incompatible pointer type [-Wincompatible-pointer-types] using read csi mex file #49

Open
aligharari opened this issue Sep 27, 2018 · 3 comments

Comments

@aligharari
Copy link

Hi, I am trying to use your tool to receive CSI but I have some problems using your MATLAB code. The problem is that when I try to make mex file I face the following warnings. After running the code I face the error which tells MATLAB faced an internal error and close the MATLAB. I will appreciate it if you can help me with my problem.
read_csi.c:67:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
nr_p = mxGetPr(prhs[1]);
read_csi.c:70:11: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
nc_p = mxGetPr(prhs[2]);
warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
num_tones_p = mxGetPr(prhs[3]);

@itskalvik
Copy link

try changing the endian_format in read_log_file.m

@muhmaz3
Copy link

muhmaz3 commented Jul 12, 2019

Did you find a solution to this, I am also stuck at this point.

@muhmaz3
Copy link

muhmaz3 commented Jul 14, 2019

This will help.
#41 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants