Simulink Test halves time axis of Signal Builder's boolean signal
Mostrar comentarios más antiguos
Hello Mathworks Community,
unfortunately I face the following issue and couldn't find an issue in the bug fixes of Simulink Test. This is why I hope that I do something wrong.
I have created a harness for a statemachine. The statemachine has in summary nine input signals. Seven of them are boolean signal and two of them are enumerations.
In Simulink Test I have created a simulation test and added a mat file to in 'Inputs' and mapped the signals accordingly.
With the Signal Builder the signal have been modified. For all boolean signals the 'built' time in the Signal Builder will be halved when running the test with Simulink Test (fig. 3). When I check the signals with the 'Visualize' feature (fig. 1) or when I add the *.mat file in a Signal Builder block (fig. 2) in Simulink and check the result, the time is not halved. Meaning when the change from false to true happens at second 0.5 in the Signal Builder it will happen at second 0.25 (fig. 3) in the test result of Simulink Test.
The interesting thing is that the time Enumeration signal from the *.mat file is not halved. The *.mat file is attached to this request.
So my question is, why is the time halved for boolean and not for enumerations? Due to the architecture it is not possible to change the type from boolean (fig. 4) to an enumeration.
For testing purposes I already modified the signal type from boolean to uint8 but this hasn't solved the issue.

(fig. 1)

(fig. 2)

(fig. 3)

(fig. 4)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Inputs en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
