Matlab 2019b Namespace Doesn't seem to be added

3 Ansichten (letzte 30 Tage)
Ben Daubney
Ben Daubney am 11 Jun. 2020
Kommentiert: Ben Daubney am 11 Jun. 2020
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 Kommentare
Steven Lord
Steven Lord am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by