Matlab 2019b Namespace Doesn't seem to be added

3 vues (au cours des 30 derniers jours)
Ben Daubney
Ben Daubney le 11 Juin 2020
Commenté : Ben Daubney le 11 Juin 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 commentaires
Steven Lord
Steven Lord le 11 Juin 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 le 11 Juin 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Search Path dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by