Is there a possible way to include enumeration in Signal builder function to define inputs?

13 次查看(过去 30 天)
I am trying to simulate a few test cases with enumeration. Is is possible to include them in the signal builder function? Has anyone already tried this? Thanks in advance!

采纳的回答

Guy Rouleau
Guy Rouleau 2013-12-18
Not possible... please contact support to explain your use case so it can be considered in future releases.
For now, I would use a From Workspace block or a Root-Level Inport block. Define your singal in the base workspace and pass it to one of those blocks.
This should be a good starting point with links to the possible ways to import your signal:

更多回答(1 个)

Shubha
Shubha 2013-12-18
Thanks for the answer! I am already importing data from Excel. I was wondering if it is possible to import in the form of enumeration for example, 'on' and 'off' for a push button input.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by