21 lines
360 B
C
21 lines
360 B
C
|
|
#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
|