why matlabshar​ed.support​pkg.getSup​portPackag​eRoot doesn't exist

Hi,
I have matlab r2014a, the following command
>> matlabshared.supportpkg.getSupportPackageRoot
return :
Undefined variable "matlabshared" or function
"matlabshared.supportpkg.getSupportPackageRoot".
Can you help please ?

回答 (1 件)

Tushar Sharma
Tushar Sharma 2025 年 2 月 6 日

0 投票

It seems you're attempting to use the function "matlabshared.supportpkg.getSupportPackageRoot" to obtain the root folder of support packages in MATLAB R2014a.
The error occurs because this function was introduced in MATLAB R2016a and is not available in earlier versions. You can find this information in the "Version History" section at the bottom of this page: https://www.mathworks.com/help/matlab/ref/matlabshared.supportpkg.getsupportpackageroot.html

カテゴリ

ヘルプ センター および File ExchangeBuild Configuration についてさらに検索

製品

リリース

R2014a

質問済み:

2019 年 7 月 26 日

回答済み:

2025 年 2 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by