MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / openMatlab

Method openMatlab

Tasks/ExportSamplesTask.cpp:226–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool
227ExportSamplesTask::openMatlab(void)
228{
229 this->of = std::ofstream(path.toStdString().c_str(), std::ofstream::binary);
230
231 if (!of.is_open()) {
232 this->lastError =
233 "Cannot open "
234 + this->path
235 + ": "
236 + QString(strerror(errno));
237 return false;
238 }
239
240 return true;
241}
242
243bool
244ExportSamplesTask::openWav(void)

Callers 1

attemptOpenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected