Matlab 2019b Namespace Doesn't seem to be added

3 ビュー (過去 30 日間)
Ben Daubney
Ben Daubney 2020 年 6 月 11 日
コメント済み: Ben Daubney 2020 年 6 月 11 日
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
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.
Ben Daubney
Ben Daubney 2020 年 6 月 11 日
I moved the entire installation to a new directory and now it just works. I don't understand what the issue was but it wasn't just my imagination, I spent a day trying to fix it by testing paths etc. Really odd.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSearch Path についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by