tf = hasdata(ADS) returns
logical 1 (true) if there is data available to read
from the datastore specified by ADS. Otherwise, it returns logical
0 (false).
hasdata returns a logical scalar indicating whether or not there is unread data in the datastore. You can use audioDatastore to read files sequentially until all data is read.
Specify the file path to the audio samples included with Audio Toolbox™.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
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.