<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to read CSV files one at every time using uigetfile and apply a set of formulae in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-read-CSV-files-one-at-every-time-using-uigetfile-and/m-p/572066#M182383</link>
    <description>&lt;P&gt;xlsread??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could it be you are confusing "Matlab" with "Mathcad"?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Sep 2018 17:04:56 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2018-09-17T17:04:56Z</dc:date>
    <item>
      <title>How to read CSV files one at every time using uigetfile and apply a set of formulae</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-read-CSV-files-one-at-every-time-using-uigetfile-and/m-p/572056#M182379</link>
      <description>&lt;P&gt;Hi, I have several CSV files that contain 10,000 rows by 16 columns in a .CSV generated file as seen in the attachment. I want to execute some formulae on these data so that I can open it up and be able to run the formulae for each CSV file. How can I make this file to work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Originally I had to convert CSV file to xlsx and then read it as follows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;[num21 txt21 numtxt21]=xlsread(&lt;/FONT&gt;&lt;FONT color="#a020f0" face="Courier New" size="2"&gt;'R21_08S'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;,&lt;/FONT&gt;&lt;FONT color="#a020f0" face="Courier New" size="2"&gt;'B2:Q10001'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However this is too tedious and I would rather read it as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[fNameDatai,pathNameData]=uigetfile('*.csv', 'Select the DATA file','Multiselect','on');&lt;BR /&gt;if ~iscell(fNameDatai),fNameData{1}=fNameDatai;else fNameData=fNameDatai;end&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so that I don't have to convert CSV file to xslx and be able to just select the rows and columns I need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:13:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-read-CSV-files-one-at-every-time-using-uigetfile-and/m-p/572056#M182379</guid>
      <dc:creator>jrodriguez-9</dc:creator>
      <dc:date>2018-09-17T16:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to read CSV files one at every time using uigetfile and apply a set of formulae</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-read-CSV-files-one-at-every-time-using-uigetfile-and/m-p/572059#M182381</link>
      <description>&lt;P&gt;The syntax you show does not appear to be Mathcad (nor Prime). Are you using the API?&lt;/P&gt;
&lt;P&gt;Why don't you just read the file using the READCSV() function into a matrix. Using Mathcad/Prime matrix operations you can select any rows and/or columns to work with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:52:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-read-CSV-files-one-at-every-time-using-uigetfile-and/m-p/572059#M182381</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2018-09-17T16:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to read CSV files one at every time using uigetfile and apply a set of formulae</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/How-to-read-CSV-files-one-at-every-time-using-uigetfile-and/m-p/572066#M182383</link>
      <description>&lt;P&gt;xlsread??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could it be you are confusing "Matlab" with "Mathcad"?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:04:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/How-to-read-CSV-files-one-at-every-time-using-uigetfile-and/m-p/572066#M182383</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2018-09-17T17:04:56Z</dc:date>
    </item>
  </channel>
</rss>

