Hi Ferit CAN,
I understand that you are facing difficulties when trying to use a MATLAB function in your Java application, specifically when passing objects as input.
Please note that MATLAB objects are not directly compatible with Java applications. To overcome this issue, you will need to convert the MATLAB object into a format that can be recognized and utilized by your Java application. The MATLAB documentation provides detailed guidance on how to pass data to Java methods, which can help you achieve the desired functionality. You can find more information in the Passing Data to Java Methods section of the documentation: https://in.mathworks.com/help/matlab/matlab_external/passing-data-to-java-methods.html
By following the guidelines provided in the documentation, you will be able to create a Java object and pass it as input to your MATLAB function successfully.