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

Nested matrices -> save to txt file (MathCAD Prrime)

SOLVED
Highlighted
Participant

Nested matrices -> save to txt file (MathCAD Prrime)

Hi guys,

 

I would be grateful for your little help. Matrix consisting of number of nested matrices cannot be saved to a file. (System Error: Not supported type). Please find my test files attached. Thank you - Pawel

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Nested matrices -> save to txt file (MathCAD Prrime)

simply use "augment(a,b)" instead of "augment([ a b])" to avoid the nested matrices.

 

The WRITEFILE command only has effect if you either evaluate it by  placing an inline evaluation (=) after it or by assigning it a dummy variable. The latter usually avoids cluttering the sheet with unwanted displayed matrices.

Your file Zescyt2.txt is therefore never written as you have neither an evaluation nor an assignment.

The  file Zescyt3.txt would be written as you have an evaluation, but WRITEFILE does not know how to handle nested matrices and therefore fails.

B.png

2 REPLIES 2

Re: Nested matrices -> save to txt file (MathCAD Prrime)

simply use "augment(a,b)" instead of "augment([ a b])" to avoid the nested matrices.

 

The WRITEFILE command only has effect if you either evaluate it by  placing an inline evaluation (=) after it or by assigning it a dummy variable. The latter usually avoids cluttering the sheet with unwanted displayed matrices.

Your file Zescyt2.txt is therefore never written as you have neither an evaluation nor an assignment.

The  file Zescyt3.txt would be written as you have an evaluation, but WRITEFILE does not know how to handle nested matrices and therefore fails.

B.png

Re: Nested matrices -> save to txt file (MathCAD Prrime)

Thank you Werner_E, it worked Smiley Happy