Parsing fails for library
13 次查看(过去 30 天)
显示 更早的评论
Hi, I have a stateflow chart that uses framework data and functions declared in externally-provided source. I also have stateflow charts in library blocks that use the same data and functions. I have set up the simulation target to include the header files and stubs to allow me to use test versions of the framework functions. When I update my model I get errors reported relating to the stateflow charts in the library blocks stating that the data and functions cannot be resolved. When I disable the links between the model and the library subsystems the errors are no longer reported. The errors are summarised with "library failed to build" and "parsing failed..." errors.
It appears that Simulink wants to build the library subsystems separately (I assume to speed up any simulation), however it does not seem to inherit the configuration of the parent model. I could use model referencing but for this application I would prefer to use libraries.
Any insight or help would be appreciated.
Regards, Dave
2 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!