cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

WRITEEXCEL - MathCAD 15 - won't write file

SOLVED
Newbie

WRITEEXCEL - MathCAD 15 - won't write file

Hello all,

I'm working with the WRITEEXCEL function for the first time and seem unable to make even the most basic example work.  In the attached file, no file gets written and I am unclear why this would be.

Best regards...

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: WRITEEXCEL - MathCAD 15 - won't write file

mlabree wrote:

Hello all,

I'm working with the WRITEEXCEL function for the first time and seem unable to make even the most basic example work.  In the attached file, no file gets written and I am unclear why this would be.

Although you've written the WRITEEXCEL command correctly, Mathcad won't do anything with it until you evaluate it.  Either write Result:=WRITEEXCEL(...) or WRITEEXCEL(...)=; the former is usually preferable to displaying a large array.

Stuart

View solution in original post

5 REPLIES 5

Re: WRITEEXCEL - MathCAD 15 - won't write file

mlabree wrote:

Hello all,

I'm working with the WRITEEXCEL function for the first time and seem unable to make even the most basic example work.  In the attached file, no file gets written and I am unclear why this would be.

Although you've written the WRITEEXCEL command correctly, Mathcad won't do anything with it until you evaluate it.  Either write Result:=WRITEEXCEL(...) or WRITEEXCEL(...)=; the former is usually preferable to displaying a large array.

Stuart

View solution in original post

Re: WRITEEXCEL - MathCAD 15 - won't write file

Thanks Stuart!  A newbie mistake...appreciate the help.

Re: WRITEEXCEL - MathCAD 15 - won't write file

No problem.

Stuart

Re: WRITEEXCEL - MathCAD 15 - won't write file

That was helpful. However, I get an error that my vector must be unitless. Must the vector be unitless to use the WRITEEXCEL function? What is the best way to strip the units from a variable? Multiply the reciprocal of the units?

Re: WRITEEXCEL - MathCAD 15 - won't write file

Andy Stevenson wrote:

That was helpful. However, I get an error that my vector must be unitless. Must the vector be unitless to use the WRITEEXCEL function? What is the best way to strip the units from a variable? Multiply the reciprocal of the units?

Yes. 

... Or divide by the units

Announcements