Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"SendToolCommand" unknown function #16

Open
fnadon opened this issue Nov 22, 2024 · 0 comments
Open

"SendToolCommand" unknown function #16

fnadon opened this issue Nov 22, 2024 · 0 comments

Comments

@fnadon
Copy link

fnadon commented Nov 22, 2024

There seems to be a bug in the SendToolCommand function of the MatLab wrapper. Called from MatLab as e.g., kortexApiMexInterface('SendToolCommand',obj.kortex, int32(0), 0, [cmd], int32(1)), it always causes an "unknown method" error.

This may be related to the parameter validation of the function. On line 317 of KortexApiMexInterface.cpp, the RequiredParams are set to 4 elements (uint32, int32, double, double). However, the actual function call on line 328 of the same file requires 5 parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant