I finished coding an important segment of the C++ program, which is part of my research. The following are the tips I learnt:
1) Octave has strcat and strsplit functions in addition to plethora of other string handling functions. More here and here too
2) To save variables in a file and eventually start appending to it:
save('fname','varname','-append');
The single quotes are important. fname is the file name, varname is the variable name and the last switch is obvious. Octave does a nice job of saving variables with information like name of the variable, its size etc.
1) Octave has strcat and strsplit functions in addition to plethora of other string handling functions. More here and here too
2) To save variables in a file and eventually start appending to it:
save('fname','varname','-append');
The single quotes are important. fname is the file name, varname is the variable name and the last switch is obvious. Octave does a nice job of saving variables with information like name of the variable, its size etc.
No comments:
Post a Comment