Save edit box as a varible

I'm using two edit boxes and would like to save the inout strings as vaiables so i can compare them later. So far I've only been able to save them as .mat files. Any ideas how I can do this? here is my code already.. function Save(hObject,eventdata,handles) input_1 = get(input1,'String'); save('Input', 'input1');
Cheers!

1 Comment

But you can access both the inout string at any given time. If you dont want to save them as mat file, then I am assuming you just want to compare them in GUI. Is it?

Answers (0)

This question is closed.

Asked:

on 30 Jan 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!