Ask Your Question

Revision history [back]

load matrix from values in text file

I've written a matrix (rows: 238 and columns 51) in a text file using MATLAB. In text file, the columns are separated by tab and each line in the text fie corresponds to a row of that matrix. Now, I want to read that file into a matrix in OpenCV. How can I do it?

I've read a number of posts where they were using "stdafx.h" header file in their code but I can't add it to my code because I think that I don't have this header file. I can't understand also. So please help me out here.