Why does the Signal Editor not interpolate my signals
조회 수: 14 (최근 30일)
이전 댓글 표시
Hello,
I have a Model with a Signal Editor for external inputs. The signal I want to input is actually a Bus with several signals of single type and one enumeration.
Because of the enumeration in the bus I can not check the option "Interploate data" in the Block Parameters Dialog of the Signal Editor, otherwise I get an error when trying to simulate.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/529694/image.png)
The interpolation method for each signal (except for the enumerated one) is set to linear.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/529699/image.png)
But when I run the simulation the interpolation of all the signals is treated as zoh.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/529704/image.png)
Any idea how to solve this keeping the enumeration inside the Bus?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!