- what variable(s) you want to save
- where you want to save it (in the script or the function)
- what format do you want to save in (text file, spreadsheet, .mat file, image file, sound file, etc.)
How to Save data generated during a function execution
6 ビュー (過去 30 日間)
古いコメントを表示
I am working on automation project, while running my script I call a function with some input argument which returns a result to me, but in the meanwhile the function also creates snp file of the schematic, I want to store that data but I cant ask it as output argument from the function. Is there any way to store data created within the function, Please let me know.
0 件のコメント
回答 (1 件)
Image Analyst
2022 年 8 月 13 日
I don't know why you say that. You can save data created inside the function in a variety of ways and formats. Or, you can also return the variables to the calling function and save them there instead. Or you can actually do both if you want.
Perhaps if you shared a simplified snippet of what you want to do, we could guide you. And tell us
3 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!