HMS-IDAC / SarcTrack2

Sarcomere Detection and Contraction Analysis
MIT License
2 stars 2 forks source link

Matlab version #1

Open kvlane opened 2 years ago

kvlane commented 2 years ago

I'm running into a lot of errors that I think might have to do with the Matlab version I am using. With the original SarcTrack, it only works for me on Matlab R2018b, so I figured that might be similar here. I've tried 2018b through 2020b, none of which have worked for me. I often get the error "Unrecognized function or variable 'getIpOptions'" when running the dwProcessFolder.m script (after dwProcessFrame.m works fine).

Is this an error because I'm missing a toolbox or could it be because of the Matlab version I'm using?

cicconet commented 2 years ago

Matlab 2018b should work. I don't recognize that error. Can you send the full error message?

kvlane commented 2 years ago

Here's a screenshot of the error! Screen Shot 2022-02-23 at 11 04 19 AM

cicconet commented 2 years ago

Do you have all Matlab packages installed or just the base version?

kvlane commented 2 years ago

What do you mean by all Matlab packages? These are the add-ons I have (screenshot)

Screen Shot 2022-02-28 at 9 51 53 AM

These are what came up as needed when running the code.

cicconet commented 2 years ago

Yes that's what I meant. I think you need the Optimization toolbox. Or if you have it installed, try re-installing it. That's what was suggested here: https://www.reddit.com/r/matlab/comments/jp20ph/help_with_fmincon_error_message/

kvlane commented 2 years ago

Okay great, thank you! That solved that error, but now I'm getting this error.

Screen Shot 2022-03-01 at 10 34 38 AM
kvlane commented 2 years ago

Any updates/thoughts about the error I posted? I'm not sure how else to troubleshoot.