Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.
This repository was archived by the owner on Mar 22, 2021. It is now read-only.

mxGetPi - mxGetPiIsDeprecated error with Matlab R2018a #31

Open
@patrikhuber

Description

@patrikhuber

Hi!

I'm getting these two errors when compiling with mexplus with Matlab R2018a.
It seems like the mxGetPi function that is used inside mexplus/mxarray.h is deprecated and no longer available in R2018a.

Error	C3861	'mxGetPiIsDeprecated': identifier not found	eos\3rdparty\mexplus\include\mexplus\mxarray.h	1013	
Error	C3861	'mxGetPiIsDeprecated': identifier not found	eos\3rdparty\mexplus\include\mexplus\mxarray.h	1102	

Is there an easy fix for this?
If not, don't worry too much about it - I am probably going to switch to the new Matlab C++ MEX API pretty soon, as soon as I find the time for it. It's pretty nice. Mathworks finally is giving us C++ bindings after 15+ (?) years of horrible C MEX API. link, link, link.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions