Why does the Signal Editor not interpolate my signals
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
Respuestas (0)
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!