MATLAB Answers

how to export two mat.files into a single excel sheet?

1 view (last 30 days)
Sandeep GNV
Sandeep GNV on 2 Aug 2021
Answered: darova on 2 Aug 2021
i have two mat.files
1. Input.mat (14 columns )
2. Output.mat (15 columns)
how to export these two mat.files into a single excel sheet with input and output variables side by side (14 columns i/p and 15 columns o/p)?

Answers (1)

darova
darova on 2 Aug 2021
  • Read all your files using load
  • Write all the data using writematrix

Products


Release

R2015b

Community Treasure Hunt

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

Start Hunting!