I'm not sure how to start out this program.

Here's the problem,
Create a cell row vector called col_headers and three cell column vectors called terminals, connections, and functions. Combine these four arrays into an export cell array that is in the format needed to export to Excel. Run the xlswrite command to create a new excel file called oilpump_connections.xls. Verify that your spreadsheet was created correctly.

Answers (1)

Read the doc for xlswrite here:
Then look at the 2nd example, which writes header strings and numeric data to an Excel file.
Then modify that 2nd example to fit your problem.

This question is closed.

Tags

Asked:

on 3 Apr 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!