From: us on
"Ali Haider" <alihaider82(a)gmail.com> wrote in message <hrlmhr$o8b$1(a)fred.mathworks.com>...
> Hi:
>
> I have a problem to read input data in a text file. my input file looks like:
>
> % comments
> 11000 20 3
>
> first line is a comment line having some characters, must be skipped
> second line contains three values that must be read individually, like
> variable a = 11000; b = 20; c = 3;
>
> please help me , how could I do this.
>
> Regards

a hint:

help textscan;
help textread;

us