Using the same WRITEEXCEL for the multiple variables
Hello
I wonder if it is possible to impose multiple variables to the same destination file using WriteExcel or similar function in order to export to excel.
Thank you for your attention.
Hello
I wonder if it is possible to impose multiple variables to the same destination file using WriteExcel or similar function in order to export to excel.
Thank you for your attention.
So I assume you have some vectors with different length you want to be written?
You could use stack - that way creating a large vector which you then can use.
If you want the vetors side by side you will have to fill the smaller vectors up (best with NaN, I guess) so you cab use augment. You can do it manually or better write a utility routine to do that for you.
Another way could be to create a routine which adds a matrix to an existing one side by side no matter what the dimensions are. Filling non-used cells with 0 would be easier that way as filling them with NaN.
I normally don't use the Excel component (because I don't use Prime for work anyway) and so I am not sure. But wouldn't it be the easiest way to use that component as in the assigments in the Input section you can specify the range where the writing should start. So you could use multiple assigmnets for multiple variables, I guess.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.