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

조회 수: 7 (최근 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.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by