Skip to content

using custom matlab function #192

Closed
Closed
@MarkusZechner

Description

@MarkusZechner

I am trying to use a custom matlab function in julia but I am getting an error.

I tried to do the following:

mat"""

function [result] = run(x_pos, y_pos)

result = x_pos + y_pos;

end

"""

but I am getting this error:

Error: Function definition not supported in this context. Create functions in code file.

Unrecognized function or variable 'x_pos'.

end;
|
Error: Illegal use of reserved keyword "end".

How can I use a custom matlab function in julia?

Thanks a lot!

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