How to run saved code?
8 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I am quite new to MATLAB and although I read through a lot of articles and answeres in the Q&A-section I am still a bit stuck. Today I downloaded a file of several MATLAB-codes (.m) from GitHub https://github.com/reyesaldasoro/Microvessel-Segmentation that I am trying to put into the program so I can apply them to a picture. There is even a desciption underneath the codes on the website but it doesn't say how to get the codes into the program. So I unzipped the file and tried to set it in the MATLAB-path, although I am not quite sure if it worked out - there is still an error occuring when I open the picture and want to run the code. Sometimes it seems that it can't be found or it says that the code is in cell mode (?). So to break this all down: could anyone help me (step by step, for an ultimate beginner wihtout any programming-knowledge) to run the codes from the downloaded file? This would be such a huge help! Thanks already and all the best, Charlotte
2 个评论
回答(1 个)
James Tursa
2018-3-22
编辑:James Tursa
2018-3-22
Generally you simply copy the unzipped files to a folder that is on the MATLAB path (e.g., your current working folder). Then MATLAB will be able to see the files when you try to invoke the functions.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!