What is the problem with the step size?

12 views (last 30 days)
Rawaa Almajeez
Rawaa Almajeez on 25 Aug 2021
Answered: Kumar Pallav on 29 Oct 2021
I am getting this error message and I do not know what does it mean or how to solve it. Would you please help."The sample time 0.1 of 'testDCMG_SG/HMI_in/GUIScope' at input port 1 is different from the sample time 0 of 'testDCMG_SG/OPC/Subsystem/Solver Configuration' at output port 1. The data displayed on testDCMG_SG/HMI_in/GUIScope may be off by a sample period. Consider inserting a Rate Transition block between the two ports. Alternatively, you can control the diagnostic action for unspecified rate transitions by changing the option "Multitask (or Single task) rate transition" on the Sample Time Diagnostics pane of the Configuration Parameters dialog box.

Answers (1)

Kumar Pallav
Kumar Pallav on 29 Oct 2021
Hi,
Try adding the rate transition block between blocks that operate at different rates.
Hope this helps!

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!