本文共 820 字,大约阅读时间需要 2 分钟。
files = { ... 'perform_front_propagation_mesh1.cpp', ... 'gw/gw_core/GW_Config.cpp', ... 'gw/gw_core/GW_FaceIterator.cpp', ... 'gw/gw_core/GW_SmartCounter.cpp', ... 'gw/gw_core/GW_VertexIterator.cpp', ... 'gw/gw_core/GW_Face.cpp', ... 'gw/gw_core/GW_Mesh.cpp', ... 'gw/gw_core/GW_Vertex.cpp', ... 'gw/gw_geodesic/GW_GeodesicFace.cpp', ... 'gw/gw_geodesic/GW_GeodesicMesh.cpp', ... 'gw/gw_geodesic/GW_GeodesicPath.cpp', ... 'gw/gw_geodesic/GW_GeodesicPoint.cpp', ... 'gw/gw_geodesic/GW_TriangularInterpolation_Cubic.cpp', ... 'gw/gw_geodesic/GW_GeodesicVertex.cpp', ... 'gw/gw_geodesic/GW_TriangularInterpolation_Linear.cpp', ... 'gw/gw_geodesic/GW_TriangularInterpolation_Quadratic.cpp', ...};
str = 'mex COMPFLAGS="/wd4819 /wd4530" ';%这里列举出所有的warning 编号即可 for i=1:length(files) str = [str files{i} ' ']; end eval(str);转载地址:http://bixdi.baihongyu.com/