I built a model which contains frame-based signals and an Embedded MATLAB block, which just runs fine. When I put some parts of my model in a subsystem it also works fine. However when I use model referencing instead of a subsystem, my model produces an error when trying to run:
Cannot propagate frame-based signal from output port 1 of 'mymodel/Constant' to input port 1 of 'mymodel/Model' because this input port expects a sample-based signal. Consider inserting an Unbuffer in the signal path.
The model is exactly the same, but now only some part has been moved to an external referenced file.
Best Answer