jensb

15 Reputation

One Badge

8 years, 34 days

MaplePrimes Activity


These are questions asked by jensb

I am trying to export a number of matrices from maple to matlab with meaningful names.

For instance with this code:
legend := ["ini_que", "ini_que_A", "ini_que_B"];
ExportMatrix("test.mat", [r_mean_Q_ini, r_mean_Q_ini_A, r_mean_Q_ini_B], arraynames = legend, target = MATLAB);

The problem is when I open the resulting file in either python or matlab, I only get  the matrices with names "ini_que" and "ini_que_". My guess is that  long strings in arraynames are truncated and only one of the options are kept.

Is this the case and can the maximum length of the name of the matrix be changed? Or is the only way to use shorter but less readable names?

Page 1 of 1