Transfer argument using get function in Matlab GUI

2 vues (au cours des 30 derniers jours)
kamal
kamal le 3 Oct 2019
amela('filename',[0:0.01:10]);
I like run amela function with arguments of filename and time.
Using GUI i got filename and time seperately as follows
handles.filename=get(handles.ffilename,'string'); output=filename
handles.time=get(handles.ttime,'string'); output=[0:0.01:10]
I like to know how to execute the amela('filename',[0:0.01:10]); in GUI code since i am getting arguments seperately.

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Oct 2019
amela(handles.filename, handles.time)

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange

Produits


Version

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by