MCPcopy Create free account
hub / github.com/daniel-e/rustml / run

Method run

src/octave.rs:244–258  ·  view source on GitHub ↗
(&self, filename: &str)

Source from the content-addressed store, hash-verified

242 }
243
244 pub fn run(&self, filename: &str) -> Result<Output> {
245
246 match self.write(filename) {
247 Ok(_) => {
248 let mut c = self.octave_bin.clone();
249 c = c + " " + filename;
250
251 Command::new("sh")
252 .arg("-c")
253 .arg(c)
254 .output()
255 }
256 Err(e) => Err(e)
257 }
258 }
259}
260
261pub fn builder() -> OctaveScriptBuilder {

Callers 9

plot_learning_curveFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
plot_normal_dataFunction · 0.80
plot_mixtureFunction · 0.80
plot_nnFunction · 0.80
mainFunction · 0.80

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected