Calling Java class in Simulink "Matlab function"-block
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Call Java from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!