How to perform eye diagram measuremet from a .mat file that contains "Enumerated" data type from a Simulink model
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Joyeeta Bhattacharya
el 11 de Ag. de 2020
Editada: Joyeeta Bhattacharya
el 16 de Ag. de 2020
I want to do EyeDiagram measurements using comm.EyeDiagram in Matlab. I have made a Simulink model of a DLL and the output (pulse signal) has been transferred To Workspace and then saved into a .mat file format in the local directory. Then I loaded the file in matlab in a variable "src". Which is showing this " struct with fields:
out: [1×1 Simulink.SimulationOutput]"
Then I initialized the display properties of eye diagram. After that I used the command/defined system object eyeObj(src). It showed the following error:
Error using comm.EyeDiagram/setupImpl
System objects do not support 'Enumeration' type or 'Objects' as inputs. Pass a valid 'Numeric' type to the Step function.
Could anyone please guide me which link am I missing here?
Thanks in advance!
0 comentarios
Respuestas (1)
Sarvani Panguluri
el 14 de Ag. de 2020
Hi,
I assume you are trying to perform Eye diagram measurements using comm.EyeDiagram in MATLAB and the output of your simulink model that is saved to workspace is of the form struct.
ed=comm.EyeDiagram()
ed(x)
After creating comm.EyeDiagram object , while usage it is expected that the input signal 'x' must be either a vector or a matrix.That might be the reason for your error.Please refer to the following link for more detailed insight
Try using the signal values present in your src to obtain the eye diagram.
Hope it helps!
1 comentario
Ver también
Categorías
Más información sobre Verification, Validation, and Test 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!