Why does the Signal Editor not interpolate my signals
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
Réponses (0)
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!