TMS320F28027: Simulink SCI transmit variable size data
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I have developed a simple code which transmists two bytes via SCI every second (12,34,12,34, etc.). It works properly (see 1.jpg with its generated code).
However a problem appears when the arrays to be sent have different lengths (see 2.jpg). According to Simulink, " the block supports variable-size signals but needs to be configured for them".
I checked the Support variable-size array box in the Model Explorer window. I also checked the Simulation/Configuration parameters/Code generation/Interface/variable-size signals.
However, it has not been fixed yet.
Any advice will be welcome.
Thank you in advanced.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164513/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164515/image.jpeg)
댓글 수: 0
답변 (1개)
Bartosz Soltowski
2019년 3월 22일
Hi,
I have the same problem.
Have you figured out how to solve it?
Regards,
Bartosz
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!