Matlab 2019b Namespace Doesn't seem to be added

3 views (last 30 days)
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 Comments
Steven Lord
Steven Lord on 11 Jun 2020
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 on 11 Jun 2020
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.

Sign in to comment.

Answers (0)

Categories

Find more on Search Path in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!