What does '@' mean in a matlab expression?

For example [x,y] = foo1(@(x) foo2(x),z);
Thank you in advance for your help.

 채택된 답변

Sean de Wolski
Sean de Wolski 2012년 1월 23일

2 개 추천

It means your are referencing a function handle or creating an anonymous function.
doc function_handle
and

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Numeric Types에 대해 자세히 알아보기

제품

태그

Community Treasure Hunt

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

Start Hunting!

Translated by