필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Exporting cell array as a csv INSIDE a fuction

조회 수: 1 (최근 30일)
Jonathan Harris
Jonathan Harris 2013년 3월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Walter Roberson
Walter Roberson 2013년 3월 8일
It should work exactly the same way. Is an error message coming up?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by