To import a Timetable to Simulink, you can make use of the from
command that is available in the Simulink Model Explorer
window. Follow the below steps to achieve this:
workspace
. If you don't have one, you can create one using the timetable
function in matlab.main.m82 chars2 lines
Model Explorer
window. This can be achieved by right-clicking on an open Simulink model and selecting Model Explorer
.Model Explorer
window, select Data Import/Export > From Workspace
.From Workspace
window will be opened. Select the Data Type
as Timetable
.Workspace Variable
field, type the name of the timetable that you want to import.Import
button.Your timetable data will be imported to Simulink and can be used in your model.
gistlibby LogSnag