question

Erik RV2 avatar image
0 Likes"
Erik RV2 asked Ben Wilson commented

Import From Excel When Model is ran programmatically

As somebody tried to import from excel while launching the model from a shell?

I run a FlexSim model programmatically with this post’s configuration:

https://answers.flexsim.com/questions/21116/automatically-configure-and-run-a-flexsim-model.html

To the files shared in this post, I tried adding this line:
excelmultitableimport();

to
'onModelReset' trigger and/or
'script.txt'

without constant success.

I tried with FlexSim 20.1 and 20.0 and I am opened to go from one version to another.

Thanks for your support!

FlexSim 20.1.0
flexsim 20.1.0excel importole automationshell
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Ben Wilson commented

I'm having trouble using the Excel Import tool in batch mode. It may not be designed for that case. I'll put it on the dev list, and if it's a bug, we'll fix it.

In your shoes, I would look at using importtable() with .csv files.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.