Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. C++ and Excel

C++ and Excel

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    D J Deky
    wrote on last edited by
    #1

    Hi, I have extremly large Excel file, where each of columns present one proces measurement. I can not find simple and useful way to read every column and transform that into *.dat file to prepare for MATLAB. Help is realy nedded D.J.

    N R 2 Replies Last reply
    0
    • D D J Deky

      Hi, I have extremly large Excel file, where each of columns present one proces measurement. I can not find simple and useful way to read every column and transform that into *.dat file to prepare for MATLAB. Help is realy nedded D.J.

      N Offline
      N Offline
      Nitzan Shaked
      wrote on last edited by
      #2

      Or at least... unix command-line tools, such as sed, awk, grep, cut, etc. I would simply export the file as CSV, and then do some simple text processing on it. I recommed you install mingw or cygwin for a quick way to get those tools. You can also get it done with macros in a decent text editor, I suppose. -- Nitzan

      D 1 Reply Last reply
      0
      • N Nitzan Shaked

        Or at least... unix command-line tools, such as sed, awk, grep, cut, etc. I would simply export the file as CSV, and then do some simple text processing on it. I recommed you install mingw or cygwin for a quick way to get those tools. You can also get it done with macros in a decent text editor, I suppose. -- Nitzan

        D Offline
        D Offline
        D J Deky
        wrote on last edited by
        #3

        ...unfortunately I am in Windows environment completelty and I should be in that one all the time, security rezons...thanks anyway pozdrav

        N R 2 Replies Last reply
        0
        • D D J Deky

          ...unfortunately I am in Windows environment completelty and I should be in that one all the time, security rezons...thanks anyway pozdrav

          N Offline
          N Offline
          Nitzan Shaked
          wrote on last edited by
          #4

          Maybe I wasn't clear enough: you can install a small subset of the command-line utilities on Windows. They're great for everyday tasks. I recommed you go look at mingw: minimal GNU for Windows. Still, if you don't want to for some reason, my suggestion still holds: export as CSV, and use a macro of some sort in a text editor to format for MATLAB. -- Nitzan

          D 1 Reply Last reply
          0
          • D D J Deky

            ...unfortunately I am in Windows environment completelty and I should be in that one all the time, security rezons...thanks anyway pozdrav

            R Offline
            R Offline
            Robert A T Kaldy
            wrote on last edited by
            #5

            There is a windows version of awk. And I think, that sed and grep exist for windows too, try google. Robert-Antonio "I launched Norton Commander and saw, drive C: on the left, drive C: on the right...Damn, why I need two drives C:??? So I formatted one..."

            1 Reply Last reply
            0
            • N Nitzan Shaked

              Maybe I wasn't clear enough: you can install a small subset of the command-line utilities on Windows. They're great for everyday tasks. I recommed you go look at mingw: minimal GNU for Windows. Still, if you don't want to for some reason, my suggestion still holds: export as CSV, and use a macro of some sort in a text editor to format for MATLAB. -- Nitzan

              D Offline
              D Offline
              D J Deky
              wrote on last edited by
              #6

              ...could you tell me where I can find it instalation packet? pozdrav

              N 1 Reply Last reply
              0
              • D D J Deky

                ...could you tell me where I can find it instalation packet? pozdrav

                N Offline
                N Offline
                Nitzan Shaked
                wrote on last edited by
                #7

                You need MinGW Runtime, MinGW Utilities, MinGW, and get binutils too 'cause its useful. There is another post in this thread which is also correct: I suppose you can simply google for "windows awk" or "windows sed" to get just these. -- Nitzan

                1 Reply Last reply
                0
                • D D J Deky

                  Hi, I have extremly large Excel file, where each of columns present one proces measurement. I can not find simple and useful way to read every column and transform that into *.dat file to prepare for MATLAB. Help is realy nedded D.J.

                  R Offline
                  R Offline
                  Rage
                  wrote on last edited by
                  #8

                  I may provide you with some code. Do you have the file format description of a MATLAB .dat ? ~RaGE();

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups