Calling Java class in Simulink "Matlab function"-block

Hi guys,
I would like to run a .m-file in my Simulink model. I used the "Matlab function"-block to implement the .m file in the model. Within the .m file, a Java function is called. (oldState = jat.matlabInterface.PropagatorAdaptor.RK8(eoms,time, x0, stepSize, jatPath);).
At this point, I get the following error message: Call to MATLAB function aborted: No method 'RK8' with matching signature found for class 'jat.matlabInterface.PropagatorAdaptor'.
Would anyone have an idea how to fix this? Do I need to define the location of the Java class?
Any help would be appreciated. Thanks Julian

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

태그

질문:

2013년 7월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by