Skip to content

MATLAB mex compilation errors due to comments #9

@imciner2

Description

@imciner2

The mex command generated inside test_HIL.m errors when running on gcc due to the inclusion of C++ style comments in the FPGAclientMATLAB source code file. To fix this, the command must tell the compiler to use C99. The modified command is: mex CFLAGS="$CFLAGS -std=c99" FPGAclientMATLAB.c

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions