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
David Hill 2020 年 6 月 2 日
show us your code
Thibedi Malotana
Thibedi Malotana 2020 年 6 月 2 日
Unfortunately it's on my laptop and I'm using my phone to ask questions
Christo van Rensburg
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 ExchangeMATLAB Mobile についてさらに検索

タグ

質問済み:

2020 年 6 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by