I am getting index exceeds the number of array elements. index mustr not exceed ). error

2 visualizaciones (últimos 30 días)

Respuesta aceptada

Monica Roberts
Monica Roberts el 3 de Mayo de 2022
cF is empty, so cF(1) is giving you this error.
The issue is that the dir command is looking for the folder "OS105" but you're already in that folder. Try instead:
cF = dir('CTDdata*');

Más respuestas (0)

Categorías

Más información sobre File Name Construction 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!

Translated by