Add MatlabWriter.
This commit is contained in:
20
src/MatlabWriter.h
Normal file
20
src/MatlabWriter.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef MATLABWRITER_H
|
||||
#define MATLABWRITER_H
|
||||
|
||||
#include "Matrix.h"
|
||||
#include <vector>
|
||||
#include <matio.h>
|
||||
|
||||
class MatlabWriter
|
||||
{
|
||||
public:
|
||||
MatlabWriter(const std::string& aFileName);
|
||||
~MatlabWriter();
|
||||
void write(const Aurora::Matrix& aMatrixs, const std::string& aName);
|
||||
|
||||
private:
|
||||
std::string mFileName;
|
||||
mat_t* mMat;
|
||||
};
|
||||
|
||||
#endif // MATLABWRITER_H
|
||||
Reference in New Issue
Block a user