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