Create Signal
Description
The Create Signal task lets you create numerical, logical, and enumeration data. The task automatically generates MATLAB® code for your live script.
Using this task, you can interactively draw and refine numerical data values for vectors, timeseries, timetables, and data arrays using:
Pointer
Keyboard
Touchscreen
By default, the live task creates a timeseries or
timetable workspace variable, createdSignal. You can use
the createdSignal
timeseries or timetable object data in Simulink® or MATLAB. Examples include Root Inport Mapper, Signal Editor, Simulink source blocks, or any application or live task that works with timeseries or timetable objects.
For general information about Live Editor tasks, see Add Interactive Tasks to a Live Script.
Open the Task
To add the Create Signal task to a live script in the MATLAB Editor:
On the Live Editor tab, select Task > Create Signal.
In a code block in the script, type a relevant keyword, such as
create signal,vector,timeseries,timetable,input,signal, orsource. From the selected completions, select Create Signal.













