in GUI , how to make the handles be used in my function?

use global or sth. ? Is there any way?
when i create my function , it occurs error: Attempt to reference field of non-structure array.

 Risposta accettata

Roger
Roger il 11 Apr 2015
Modificato: Roger il 11 Apr 2015
ok, i found one way ,just set the handles as a parameter and pass it to my function.
function myfun(handles,params)

Più risposte (1)

Categorie

Richiesto:

il 11 Apr 2015

Modificato:

il 11 Apr 2015

Community Treasure Hunt

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

Start Hunting!

Translated by