Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Exporting cell array as a csv INSIDE a fuction

1 visualizzazione (ultimi 30 giorni)
Jonathan Harris
Jonathan Harris il 7 Mar 2013
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Hi,
I am trying to export a [5000 x 1] cell array from inside a function. cell2csv works great when applied to a script, but when I run it inside a function it does not save the file like I had hoped.
Do you guys know any way around this that would enable me to save a file from inside a function?
function example(input)
A = {5000 x 1};
[export A from inside function]...
end
Thanks, Jon
  1 Commento
Walter Roberson
Walter Roberson il 8 Mar 2013
It should work exactly the same way. Is an error message coming up?

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by