How to set output of MATLAB function block as fixed size?
조회 수: 11 (최근 30일)
이전 댓글 표시
I have a MATLAB function block in Simulink. The dimensions of the output are defined by block inputs, but remain constant during the simulation. How can I get Simulink to define it as a fixed-size output?
댓글 수: 11
Adil Murtaza Zuberi
2020년 2월 17일
Thank you but as described, there will be later on custom code inside the funtion block, therefore it is necessary to use matlab function block for Code Generation.
답변 (1개)
stozaki
2020년 2월 13일
* I attached model and Signal Object file.
There are two ways.
- Set the dimensions in the properties of the output signal.
- Use Simulink Signal Object
Regards,
stozaki
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!