0
votes

I have a 3 simulink models: the first is used as multiple-instance component inside the second; the second is a component inside the third (the third one is just used for testing purpuse and inkect test stimuli on the second).

If I simulate my model in "Normal" way all works fine. If I set my HW configuration (ARM Cortex) and try to run it in "SIL" mode it doesn't work because "The component has an unsupported continuous sample time. Input and output ports with continuous sample times are not supported. To avoid this error you should update the component so that there are no continuous sample times crossing its boundary."

Same error also trying to simulate the first model (the inner one).

Do you have an idea to solve my problem?

Thank you.

1
Could you include a picture of the diagram that is producing the problem?Engineero
Clicking "start simulation" from inner model (the first one in my description) I already get this error. Its picture is enough? It just have one input, one output and a stateflow model in the middle. In stateflow there are two variables: one for input and one for output and their type is "inherit".Pierpaolo Cira

1 Answers

1
votes

Yes. Use discrete sample times, not continuous ones. You can display the sample times in your model to see which ones are continuous and you need to change, see the documentation for more details.