How to store multiple function outputs?
이전 댓글 표시
So I have a function that has one output variable and when I run this function it gives me three different answers which it should but I want to use to use all of the outputs but it only saves the last one. How can I store or save all the outputs.
댓글 수: 3
David Hill
2020년 6월 2일
show us your code
Thibedi Malotana
2020년 6월 2일
Christo van Rensburg
2020년 6월 2일
Are you using a loop of some kind to continuously calculate a new value for the parameter? If so you can simply store it using: output[:,i]
Maybe take a photo with your phone and attach it here.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Mobile에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!