MATLAB: How to load data from the MATLAB workspace to Simulink using the From Workspace Block

2dblockdatadimensionsfieldimportloadmatrixsendingsignalsimulinkstructurevaluesworkspace

How do I load data from the MATLAB workspace to Simulink using the From Workspace Block?
How can I import data from MATLAB to Simulink ?

Best Answer

The From Workspace block in Simulink allows you to read 1-D and 2-D signals into Simulink. The examples provided in the attached Tech Note 1902 illustrate the different ways you can use the From Workspace block to read signals from the MATLAB workspace.