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 ExchangeCall 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