Need a means of passing a handle to a function shown to me.
    3 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    DJ V
 am 14 Dez. 2016
  
    
    
    
    
    Beantwortet: Walter Roberson
      
      
 am 14 Dez. 2016
            Hi, I need to pass a "handle" to a function. I then need to use the handle.
Here is the question that describes the code. How do I receive a handle in a function once it is passed to it?

0 Kommentare
Akzeptierte Antwort
  Walter Roberson
      
      
 am 14 Dez. 2016
        Example:
function pqd = find_zero(xyz, abc, jlk)
   pqd = xyz(abc);
This is not the correct function, but it illustrates invoking the received function handle on a data point.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

