MATLAB: About plottools,for add data function ,the variables in GUI is not visable

plot

| | i made a GUI to import some data into variables,but when i use the Add Data function ,these variables imported from GUI is invisiable,so i cannot use the add data function in plottools,it seems like that this function can only use variables in workplace; is it true ? may someone give me several advice?thanks first | |

Best Answer

You can use assignin('base','_variablename',variable)