Skip to content

"SendToolCommand" unknown function #16

@fnadon

Description

@fnadon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions