How to export Simulink scope data to Excel sheet file using writetable command in MATLAB?

This video shows the steps to log the simulink scope data to matlab workspace and then export that data to an Excel file using writetable command.

Source Code:

T = table(out.ScopeData.time, out.ScopeData.signals.values)
writetable(T,’myExcelSheet.xls’)

Exported Data Excel .xls File: myExcelSheet

Leave a Reply