Save a variable in app designer

I designed an application and I want to store only one variable (my result) in to a .mat file from workspace. I have tried the
Save Final.mat Output
Where Output is the variable I wanted to save as Final.mat but could not get to save it. Is there any other way to do it?
Thanks in advance.

3 件のコメント

Stephen23
Stephen23 2018 年 7 月 21 日
@Venkata Bhargav Tanguturi: in which workspace is that variable? If it is not in the same workspace as the function that is being called then your code will not work. Please upload your code by clicking the paperclip button.
Venkata Bhargav Tanguturi
Venkata Bhargav Tanguturi 2018 年 7 月 22 日
Hi, I have created a separate button, which creates a .mat file of my variable output. I made the variable 'Output' as app.Output in properties to use it for another button and write a .csv file with it.
The csvwrite option works fine but when I try to run the save option to save the output, it doesnt work.
The variable output is double type.
Thanks
Stephen23
Stephen23 2018 年 7 月 22 日
@Venkata Bhargav Tanguturi: please upload your code by clicking the paperclip button.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

コメント済み:

2018 年 7 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by