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

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

Open
VickieZ49 opened this issue Aug 21, 2024 · 0 comments
Open

Comments

@VickieZ49
Copy link

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!

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