I have a file named data.dat
with the following contents:
my name is elyas 123
this is a book 123.450
my father name -2.34e+05
I want load this file into MATLAB and get the following data as output:
a = 123
b = 123.450
c = -2.34e+05
name = 'elyas'
But I don't know how to do this. Any suggestions?