Error using initCobraToolbox (line 205) The submodules could not be initialized
Selva23siva opened this issue · 0 comments
I get this following error while running the command >>initCobraToolbox in Matlab
error: unable to write file C:/Users/SELVA/AppData/Roaming/MathWorks/MATLAB Add-Ons/Collections/The COnstraint-Based Reconstruction and Analysis Toolbox/opencobra-cobratoolbox-9251835/.git/modules/external/base/utilities/Smith-Decomposition/objects/b3/0ed3a03af163c8ea35e6a83bca7d6626c7d825: Filename too long
fatal: failed to write object
fatal: unpack-objects failed
fatal: clone of 'https://github.com/nbfigueroa/Smith-Decomposition.git' into submodule path 'C:/Users/SELVA/AppData/Roaming/MathWorks/MATLAB Add-Ons/Collections/The COnstraint-Based Reconstruction and Analysis Toolbox/opencobra-cobratoolbox-9251835/external/base/utilities/Smith-Decomposition' failed
Failed to clone 'external/base/utilities/Smith-Decomposition'. Retry scheduled
fatal: not a git repository: C:/Users/SELVA/AppData/Roaming/MathWorks/MATLAB Add-Ons/Collections/The COnstraint-Based Reconstruction and Analysis Toolbox/opencobra-cobratoolbox-9251835/external/base/utilities/Smith-Decomposition/../../../../.git/modules/external/base/utilities/Smith-Decomposition
Failed to clone 'external/base/utilities/Smith-Decomposition' a second time, aborting
Error using initCobraToolbox (line 205)
The submodules could not be initialized.