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

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!

 Accepted Answer

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:

2 Comments

Any updates on this case in current releases?
Same questions as of salem, are there any updates on this one in 2024a or b?

Sign in to comment.

More Answers (1)

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.

Products

Asked:

on 17 Dec 2013

Commented:

on 8 Nov 2024

Community Treasure Hunt

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

Start Hunting!