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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

PawelDabrowski
5-Regular Member

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

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2

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

PawelDabrowski
5-Regular Member
(To:Werner_E)

Thank you Werner_E, it worked 🙂

Announcements

Top Tags