Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Output file

Status
Not open for further replies.

phonglang

Electrical
Joined
Mar 31, 2003
Messages
1
Location
VN
How can I export data from my simulink block diagram to an Excel file (*.xls)

Thanks for your help
 
If it is result data I believe you can get it into Matlab and save it as a ascii file. When opening in Excel, choose the correct parsing options in the text file import wizard.

I'm sure others here are better experienced to answer.

There is also an Excel link toolbox but I don't know what it's capable of.
Ken
 
First, you can export the data to the MATLAB workplace by using the "To workplace" block in the "Sinks" category. Then from the workplace you can copy and paste it in Excel. This method can work for many variables provided you increase the input to the "To workplace" block. Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top