matlab - Opening image and text file with the same name -


My problem is that I have a folder in which there are some images, such as a.jpg, b.jpg, and Similarly, text files in another folder include a.txt, b.txt, and so on. I will select an image like a.jpg is selected with the image, the text file a.txt is also displayed. How to do it

You need to remove the file name (such as 'a' / code>) Full-file name (e.g., 'a.jpg' ).
You can use the fileparts command for this termination in the 'A.jpg' for 'a' and < Code> 'jpg'

Please read the documentation for more information.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -