How to build mex file directly in Visual Studio 2010?
Aftersomeexperimentingwithguidancefromthispagementionedinthequestion,itseemslikestartingwithanemptyC++projectthefollowingsettingsintheproject'sPropertyPagesarenecessaryandsufficienttobuildaworking.mex