This is MeX Version 1.05 18 XII 1993 (B. Jackowski & M. Ry\'cko) ! You can't use `macro parameter character #' in vertical mode.

4 views (last 30 days)
Hi, when I run the compile_linux, there are the following prolbem.
This is MeX Version 1.05 18 XII 1993 (B. Jackowski & M. Ry\'cko) ! You can't use `macro parameter character #' in vertical mode.
Anyone who knows how to deal with it? Thanks Advanced!

Answers (1)

Aishwarya Lakshmi
Aishwarya Lakshmi on 26 Jul 2022
Here is the fix,
this error is due to a conflict between MATLAB mex and a LaTeX command with the same name. Edit src/Makefile.var and mention the full path when referring to MEXBIN
MEXBIN = /Applications/MATLAB_R2012a.app/bin/mex
source: https://en.wikibooks.org/wiki/SPM/Installation_on_64bit_Mac_OS_(Intel)#macOS_Catalina

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!