Import files based on file name
Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
0 voti
Condividi un link a questa domanda

Risposta accettata
0 voti
Condividi un link a questa risposta
9 Commenti
Condividi un link a questo commento
https://it.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_993950
Condividi un link a questo commento
https://it.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_993995
Condividi un link a questo commento
https://it.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_994055
Condividi un link a questo commento
https://it.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_994118
Condividi un link a questo commento
https://it.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.
Condividi un link a questo commento
https://it.mathworks.com/matlabcentral/answers/587738-import-files-based-on-file-name#comment_994220
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Più risposte (0)
Categorie
Scopri di più su Call C from MATLAB in Centro assistenza e File Exchange
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- 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)
