I'm using Mathcad 15 in Windows 7. Anyone ever seen this error before? And if so what does it mean. I'm reading in a 100 MByte file and stripping off a serious amount of data leaving this matrix of 15 columns and 21000 rows to write. Could it be a memory issue associated with the variable holding the 100 MByte contents.
I suspect your arguments are in the wrong order.
I don't have Mathcad 15 at hand, but prime 3.1 help says the format is:
WRITEEXCEL("file", M, [rows, [cols]], [“range”])
To execute the function you must use it in an assignment, example:
Just for curiosity.
Reading the description on the parameter M, I wonder if the function can handle if M contains strings....
I'm reading large delimited ASCII files containing test data, stripping out quiescent data and then using the WRITEEXCEL function to write a much smaller file for further analysis. Some of the data files were sampled at 1kHz and my WRITEEXEL function worked just fine. The error occurs when I read the 10kHz sampled files. The files read fine. I then "clean" the data. The error occurs on the write statement using the exact command as on the smaller files.
BTW, on the large files, using WRITECSV works just fine. That is an acceptable work-around but the oddity of the WRITEEXCEL error is curious.
The arguments are in the correct order for MC15.
So without the worksheet, I don't know why it's doing that. A suggestion is to test it with a much smaller input file to verify it works in that case.
As stated in one of my replies above, the smaller files have no issue with WRITEEXCEL.
Bug - Surely you jest.