abraxas334
December 1st, 2010, 02:10 PM
Hi,
I dont know matlab, but I am forced to use it, yet I seem to waste my time doing very simple things just because I don't know how to.
I have a character array from the dir function:
file.name, which is some thing like this:
"Test_s_41_t_0.2_l_1e+6_N_1000.dat"
I want to find the char "t", so i can read what comes after i.e the 0.2 which is the information I need for the rest of the program.
How do I do that?
I dont know matlab, but I am forced to use it, yet I seem to waste my time doing very simple things just because I don't know how to.
I have a character array from the dir function:
file.name, which is some thing like this:
"Test_s_41_t_0.2_l_1e+6_N_1000.dat"
I want to find the char "t", so i can read what comes after i.e the 0.2 which is the information I need for the rest of the program.
How do I do that?