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!