u-shape3D icon indicating copy to clipboard operation
u-shape3D copied to clipboard

Error with MD variable for runKrasTrain (Example 4 in User Guide)

Open edelaserna opened this issue 2 years ago • 0 comments

Hi! I am trying to go through Example 4 in the User Guide to learn how to train my own SVM. I've been consistently running into the same error when running runKrasTrain.m:

Cell 1: Cell1 The provided path is not the path to a Matlab variable Unrecognized function or variable 'MD'.

Error in clickOnProtrusions (line 96) sanityCheck(MD);

Error in runKrasTrain (line 60) clickOnProtrusions(p)

For some reason, clickOnProtrusions is not recognizing the MD variable in my workspace - it keeps getting stuck on lines 90-96 of clickonProtrusions.m when it tries to load the MovieData object and then run sanityCheck(MD). When I type in MD in the command line, Matlab registers that MD exists. I've checked the directory path in the MD variable and made sure it matches what I inputted for the analysisDirectory variable in line 38 of runKrasTrain.m.

I'm quite stumped on how to troubleshoot and would appreciate any insight! Thank you so much!

edelaserna avatar Feb 01 '22 06:02 edelaserna