A colleague confirms that in their installation the class is found so must be an installation problem, maybe another directory is corrupt somewhere.
Matlab 2019b Namespace Doesn't seem to be added
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm trying to run a simulink model in 2019b, it is complaining that it cannot find the definition for the class Simulink.SimulationData.BlockPath, the parent directory has been added "/toolbox/shared/simulink" so it should automatically be included since the package files in the parent directory all have either + or @ before the directories.
If I type:
which Simulink.SimulationData.BlockPath
it says it's not found, however, this works in Matlab 2017. and finds the class.
Any ideas what's happening, its almost like it's not adding the Simulink package for some reason, I don't want to explicitly add the files as you're not supposed to do this for packages.
The files are defininately there, the only difference between the two versions is that in 2019b they've been changed to .p files (i.e. BlockPath.m -> BlockPath.p) and there is an extra directory "en" which contains a copy of the ".m" file.
3 件のコメント
Steven Lord
2020 年 6 月 11 日
Please show the full and exact text of the error message you received. The exact text may include details that your summary of the error does not and those details may reveal exactly what's causing the error.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Search Path についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!