I believe that this is not due to going to 2019a, but related to recent permission lockdowns on /tmp directory (linux). I need to figure out how to point matlab to a different temp directory to test this.
Why did imread() stop working when I changed to 2019a?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have been using imread to get images from a server by putting requests into the URL argument: im = imread(url). Now I'm getting an error "Can't read URL, ..., Reason: first input must be 1xN cell array of strings." What is it talking about?
EDIT: I wasted everyone's time with this. After digging deeper, I found that I had an old version of strjoin() in my path somehow. The function must have changed in a critical way. Problem disappeared when I removed this old version.
2 comentarios
Respuestas (1)
Steven Lord
el 10 de Mzo. de 2020
Can you show us the class and size of the url variable you're passing into imread?
Is it a character vector or a string scalar as the documentation page for the imread function indicates it needs to be? See the section describing the Input Arguments, specifically the filename input argument.
3 comentarios
Image Analyst
el 10 de Mzo. de 2020
It looks like that would not give a simple filename, but possibly a list of a whole bunch of filenames. I suggest you somehow use webread() to execute that query and then parse out the filenames one at a time.
Ver también
Categorías
Más información sobre Startup and Shutdown 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!