Cant add tow deffrent time signals to a scope
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Iam using sime event.. Ihave a signal from Nserver and i can easly connect it to a scope and every thing is ok ... a second signal is generated from signal builder block (new custom signal) so i can choose like 20 X axes values and 20 Y axes values to generate the signal and the secon signal can also be connected to a scope and the graph is shown perfectly... The problem accure when i want to add the tow signal by '' add'' block and when i connect the output of the "add" block to scope it gives me the following error message (insert either the timed to event signal or the timed to event function-call block frome the gateways library)
0 comentarios
Respuestas (1)
Adithya
el 24 de Abr. de 2023
It seems like you are trying to add two signals using the "add" block in Simulink, but encountering an error when trying to connect the output of the "add" block to the scope. The error message suggests that you need to insert either the "timed to event signal" or the "timed to event function-call" block from the gateways library.
This error message may indicate that the signals you are trying to add have different sample times or data types. The "timed to event" blocks can be used to synchronize signals with different sample times or to convert signals between different data types.
You can try inserting the "timed to event signal" or "timed to event function-call" block between the output of the "add" block and the scope to see if this resolves the error. Alternatively, you can try adjusting the sample times or data types of the signals to ensure they are compatible for addition.
It's also possible that there may be other issues with your Simulink model that are causing the error, so you may want to review your model and check for any other potential issues.
0 comentarios
Ver también
Categorías
Más información sobre Discrete-Event Simulation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!