Results 1 to 2 of 2

convert Mat file (in matlab) to excel sheet

This is a discussion on convert Mat file (in matlab) to excel sheet within the Excel Questions forums, part of the Question Forums category; Hi I have mat file (Histgr.mat) including struct of array(Hist), this structure include the fields (Name, Color Histogram (16 dimension)), ...

  1. #1
    New Member
    Join Date
    Aug 2011
    Posts
    1

    Default convert Mat file (in matlab) to excel sheet

    Hi

    I have mat file (Histgr.mat) including struct of array(Hist), this structure include the fields (Name, Color Histogram (16 dimension)), I would like to convert these data (Name, Color Histogram ) to excel sheet, I used the xlswrite function in matlab after loading the (Histgr.mat)as for example :

    xlswrite('Xlsf1.xls', ' Hist.Nam') I get the error:
    Too many input arguments.
    then I change the function as:

    xlswrite('Xlsf1.xls', 'Nam') I get the error:

    undefined variable Nam

    for convert the color histogram, also I get the error:
    Dimension of input array cannot be higher than two.

    Please, any one help me

  2. #2
    VoG
    VoG is offline
    MrExcel MVP
    Moderator
    VoG's Avatar
    Join Date
    Jun 2002
    Location
    127.0.0.1
    Posts
    63,565

    Default Re: convert Mat file (in matlab) to excel sheet

    HTH, Peter
    Please test any code on a copy of your workbook.

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DMCA.com