Hi,
i get this error:
The computed sample Time 2E-09 is not an integer multiple of the fixed step size 1E-08. the period, pulse width and phase delay parameters of this block need to be integer multiples of the fixed step size.
can anyone help
Reagrds
YT

4 comentarios

Geoff Hayes
Geoff Hayes el 28 de Ag. de 2019
Youssef - how is the above error generated? Please provide some context and/or references to code that you are using.
Youssef Toubla
Youssef Toubla el 28 de Ag. de 2019
Hi,
i try to simulate a DC/DC Converter in simulink with pulse width of 300 Khz, and i get this error
Regards
sruthi kesav
sruthi kesav el 4 de Mayo de 2020
Editada: sruthi kesav el 4 de Mayo de 2020
Hi,
i get this error:
The computed sample time (1.25E-06) is not an integer multiple of the fixed step size (1E-05). The period, pulse width and phase delay parameters of this block need to be integer multiples of the fixed step size.
Can anyone help me.Thanks in advance.
Regards,
Shruthi.D
Fangjun Jiang
Fangjun Jiang el 4 de Mayo de 2020
If the step size is 1 second, the sample time of any block could be 1, 2, 5, 10, etc. It can't be 2.3, 10.5 or smaller than 1 like 0.5, etc.
The easiest way for you is to change the step size to be 1.25E-6 if possible. You may have further issue though.

Iniciar sesión para comentar.

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 29 de Ag. de 2019

1 voto

Based on your specification of Period (secs) and Pulse Width (% of period), Simulink calculated that the time incremental needs to be as small as 2E-09. But your fixed step size (1E-08) is larger. That is the error.
Double check your specification. Please note that if you want to specify 5% duty cycle, you should specify it as 5, not 0.05.

Más respuestas (1)

Abhishek saini
Abhishek saini el 4 de Mzo. de 2022

0 votos

The computed sample time (0.0004) is not an integer multiple of the fixed step size (0.0084). The period, pulse width and phase delay parameters of this block need to be integer multiples of the fixed step size

Productos

Preguntada:

el 28 de Ag. de 2019

Respondida:

el 4 de Mzo. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by