www.gusucode.com > Arduino_Engineering_Kit_Hardware_Support_18b 工具箱matlab源码程序 > Arduino_Engineering_Kit_Hardware_Support_18b/simulink/+motorcarrier/+internal/getSpPkgRootDir.m

    function rootDir = getSpPkgRootDir()
%GETSPPKGROOTDIR Return the root directory of this support package

%   Copyright 2017 The MathWorks, Inc.

rootDir = fileparts(strtok(mfilename('fullpath'), '+'));

end