From: Miroslav Balda on
"Miroslav Balda" <miroslav.nospam(a)balda.cz> wrote in message <hdule1$rkp$1(a)fred.mathworks.com>...
> "Rachel Laughs" <remove.thisrachellaughs(a)gmail.com> wrote in message <hdujjo$224$1(a)fred.mathworks.com>...
:
SNIP
:
> > 3. the two numbers following the final underscore
:
> Hi,
> the following code solves your task:
> [filename,pth] = uigetfile(......); % The path is in pth
> I = findstr('_',filename);
> file = filename(1:I(end));

Sorry, I have missed to answer the third question:
numb = filename(I+1:I+2);
Mira