Import files based on file name
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta

Respuesta aceptada
0 votos
Comparte un enlace a esta respuesta
9 comentarios
Comparte un enlace a este comentario
https://es.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_993950
Comparte un enlace a este comentario
https://es.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_993995
Comparte un enlace a este comentario
https://es.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_994055
Comparte un enlace a este comentario
https://es.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_994118
Comparte un enlace a este comentario
https://es.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_994160
- files.folder creates a comma-separated list containing the folder data from all elements of files, which you the supply as inputs to fullfile. Basically your code does this: fullfile(files(1).folder, files(2).folder, .... , files(end).folder, out{i}), which is very unlikely to be the path of an actual folder.
- There is no attempt to use any indexing to provide only the relevant files data. Not all filenames from files occur in out (that was the whole point of your question), but you make not attempt to get only the elements of files that correspond to the filenames in out.
Comparte un enlace a este comentario
https://es.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_994220
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Más respuestas (0)
Categorías
Más información sobre Call C from MATLAB en Centro de ayuda y File Exchange.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
