How to give a function handle as argument for java method?

조회 수: 2 (최근 30일)
Jani
Jani 2011년 7월 13일
I compiled matlab functions to java and one of my functions take function handle as an argument. I want to use this function from java. How to handle this so, that function handle is passed correctly to matlab?

채택된 답변

Titus Edelhofer
Titus Edelhofer 2011년 7월 13일
Hi, sorry, but function handles are not supported: how would you want to create a MATLAB function (say anonymous function?) in Java? If you could describe why you want to do so, perhaps there are work arounds ...
Titus

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by