How to run saved code?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Jan
el 22 de Mzo. de 2018
Please post the relevant part of the code and a copy of the complete error message.
Charlotte Ga
el 23 de Mzo. de 2018
Editada: per isakson
el 23 de Mzo. de 2018
Respuestas (1)
James Tursa
el 22 de Mzo. de 2018
Editada: James Tursa
el 22 de Mzo. de 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.
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!