How to run saved code?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Jan
le 22 Mar 2018
Please post the relevant part of the code and a copy of the complete error message.
Réponses (1)
James Tursa
le 22 Mar 2018
Modifié(e) : James Tursa
le 22 Mar 2018
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.
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!