cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

Problems with initCobraToolbox since update

Open dtmvandenberg opened this issue 2 years ago • 0 comments

I get the following error: `Warning: Name is nonexistent or not a directory: C:\Modeling\cobratoolbox\src\analysis\thermo\vonBertalanffy\initVonBertalanffy.m

In path (line 109) In addpath (line 86) In initCobraToolbox (line 655) `

I hereby confirm that I have:

  • [x] Tried to solve the issue on my own
  • [x] Retried to run my code with the latest version of The COBRA Toolbox
  • [x] Checked that a similar issue has not already been opened

Fixed the problem by changing line 654 in initCobraToolbox.m from: basePath = strrep(aPath,'vonBertalanffy\initVonBertalanffy.m',''); to: basePath = strrep(aPath,'vonBertalanffy','');

That fixed it for me, and I can still run initVonBertalanffy. No idea if this will fix it for everyone.

Kind regards,

Dennis

dtmvandenberg avatar Oct 05 '21 08:10 dtmvandenberg