Calling Java class in Simulink "Matlab function"-block
Show older comments
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
Answers (0)
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!