I want to convert h2g.c to a mexa64 file on ubuntu 18.04 via matlab's mex. My matlab version is R2022a and when I type "mex h2g.c" in matlab console, it gives me an error. Then when I type "mex h2g.c" on Windows 10 and try to generate the mexw64 file , it gives me an error again. How can I solve this problem.
I want to convert h2g.c to a mexa64 file on ubuntu 18.04 via matlab's mex. My matlab version is R2022a and when I type "mex h2g.c" in matlab console, it gives me an error. Then when I type "mex h2g.c" on Windows 10 and try to generate the mexw64 file , it gives me an error again. How can I solve this problem.