Data logging from simulink. It only stores a few values
조회 수: 15 (최근 30일)
이전 댓글 표시
Hi, I am quite new in Matlab and I´m stuck in the following problem; I am trying to save to a varible a set of point (ones and zeros) acquired via the digital input of a data acquisition board (Advantech pci 1711) in simulink. After the simulation I check the data stored in the variable and I find the it has only saved the last few point of the simulation. Also I placed a scope block with data logging enabled and I get the same situation. The time step is set to 0.0005 sec in the digital input block and the scope block. The option of data logging in the configuration parameters dialog box is checked but in the workspace I don´t see the variables checked in the dialog box.
Thank a lot in advance.
Alejandro
댓글 수: 0
답변 (1개)
Albert Yam
2012년 7월 5일
For only recording the last few points, did you change the option for 'Limit data points to last XX'? With your time step size, you may need to record a lot of values.
I would suggest using 'To Workspace' blocks or Signal logging, rather than using a Scope block. (But I'm using an old version.)
댓글 수: 2
ayam mohsen
2013년 4월 21일
hello,i need to know the version of matlab that you are using with pci-1711 ,please help me
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!