Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

FMIKit 2.9: FMIKit.setSFunctionParameters(gcb) as callback does not work #482

@VickieZ49

Description

@VickieZ49

In my simulink model there is a subsystem, which is from a custom defined library, it contains a block to import FMU. In the block properties's dialog, call back functions "LoadFcn" is used with following code:
FMIKit.setSFunctionParameters(gcb)

When I execute CTRL-D, this command can not execute correctly sometimes. The error says: Changing property "SimUserIncludeDirs" is not allowed.

If the model is in a main branch, it works. But if I create a new branch from the main branch, then it throws the above error.

Is there some limits or constraints to use it as a callback function? What is the reason of it and how can I resolve this problem?

Thank you for support!

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