Skip to content

Compilation not working #2

@ojwoodford

Description

@ojwoodford

Compilation was broken using R2025b on MacOS 15 and Apple Silicon. I suspect this is down to the new MATLAB C++ mex API changes. I couldn't see any C++ specific features in savepng.cpp, so a simple fix was to rename savepng.cpp to savepng.c, and edit savepng.m to reflect this. Then it compiled and worked correctly. This should be an entirely backwards compatible and cross-platform fix.

Thanks for the tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions