jjzjj

DoBenchmark

全部标签

windows - 无法定义具有重复名称 "DoBenchmark"的奇怪函数,因为该函数仅在一个地方定义

(在最新的windows10下使用Matlab2018b。)我有一个文件夹Folder包含DoStuff.m其代码是:%addpath('./SubFolder/SubSubFolder');//SubSubFoldercontainsmexfiledefiningmyFunctionusedbelow%closeall;function[res]=DoStuff(param)%Functionhassamenameasthescriptdefiningitres=myFunction(param)end哪里myFunction在mexw64中定义包含在'./SubFolder/Sub