Clear Filters
Clear Filters

What is the problem with the step size?

7 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
Try adding the rate transition block between blocks that operate at different rates.
Hope this helps!


Find more on Simulink in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!