From ftm
This patch by Adrian Gierakowski loads multiple samples into a mat. It utilizes dropfile for 'drag and drop' adding files or whole folders of audio files to a mat. You can also choose to replace a file at an existing index instead of appending a new one: