Search found 22 matches

by Fred
Thursday 16 April, 2020 - 10:04
Forum: Enterprise Dynamics 4DScript
Topic: Connecting Matlab to ED
Replies: 1
Views: 11807

Re: Connecting Matlab to ED

Hi Hani,

I think MATLAB supports ActiveX. Using ActiveX is probably the easiest way to do it, but that requires a license. A student version does not support this.

Another option would be to start Enterprise Dynamics and create a function that will read a XML file with your parameters.

Gr. Fred...
by Fred
Friday 16 August, 2019 - 14:54
Forum: Enterprise Dynamics 4DScript
Topic: Human Centered Walking Worker Line
Replies: 2
Views: 13227

Re: Human Centered Walking Worker Line

Have a look at the Human Resources examples.

You can find them here: [MyDocuments]\Enterprise Dynamics\10.2\Models\Examples\English\Human Resources

This should give you some ideas how to model it.

Gr. Fred...
by Fred
Wednesday 08 May, 2019 - 13:20
Forum: Modeling in Enterprise Dynamics
Topic: Is it possible to set the seed to keep stochasticity but get repeatability?
Replies: 4
Views: 8486

Re: Is it possible to set the seed to keep stochasticity but get repeatability?

Hi Robin,

If you want each experiment sequence to start with the same seed value, you can indeed use GeneratorSeed.

Code: Select all

GeneratorSeed(0) := 10
Gr. Fred...
by Fred
Tuesday 07 May, 2019 - 13:29
Forum: Enterprise Dynamics 4DScript
Topic: Experiment Wizard
Replies: 4
Views: 15512

Re: Experiment Wizard

Hi Chaix, You have opened a new form. That does not mean it is internally the active form. Use GuiSelect (see help) to make the new form active. With regards to the table data, you could use TableAsText to write the data to a string and then use save this string to a file by code. Have a look at the...
by Fred
Friday 03 May, 2019 - 20:25
Forum: Enterprise Dynamics 4DScript
Topic: Experiment Wizard
Replies: 4
Views: 15512

Re: Experiment Wizard

Hi Chaix, There are 2 ways you can get to this form. Option 1: Select the menu option in the Simulate menu. KernelFnc([analyze experiment results]) Option 2: After the experiment. Open the Atom Editor and select the Experiment Support atom in the System group. Select the OnMessage event. Search for ...
by Fred
Tuesday 30 April, 2019 - 19:14
Forum: Modeling in Enterprise Dynamics
Topic: Execute 4dScript code from external application
Replies: 6
Views: 9437

Re: Execute 4dScript code from external application

Try something like this:

Code: Select all

private void UseED() {
  ActiveXComponent app = new ActiveXComponent("ED.App");
  
  // Use app to invoke 4DScript by using the functions Run4DScript and Invoke4DScript.
}
by Fred
Friday 16 November, 2018 - 19:48
Forum: Enterprise Dynamics 4DScript
Topic: ED 10.2 Active Script - Debugger
Replies: 3
Views: 6439

Re: ED 10.2 Active Script - Debugger

Hi Chiara,

This is unfortunately a bug which we have already fixed. This release will soon be made available for download.

It happens if you debug something with an "exit" or similar function call in it.

Kind regards,

Fred
by Fred
Monday 01 July, 2013 - 12:53
Forum: Enterprise Dynamics 4DScript
Topic: Icon-Editor for ED-Atoms
Replies: 2
Views: 3893

Re: Icon-Editor for ED-Atoms

Hi,

I personally use IcoFX.

Very nice icon editor, and has a good demo version available.

Gr. Fred...
by Fred
Tuesday 21 May, 2013 - 15:28
Forum: Enterprise Dynamics 4DScript
Topic: Annoying bugs in 4DS-Editor
Replies: 6
Views: 9044

Re: Annoying bugs in 4DS-Editor

Hi,

I have looked at our engine code and found out that we indeed do something strange with the clipboard. I don't think we can fix this for the upcoming release, but I have put your issue on the development workload.

Gr. Fred...
by Fred
Tuesday 21 May, 2013 - 14:52
Forum: Enterprise Dynamics 4DScript
Topic: Socket Communication
Replies: 7
Views: 6683

Re: Socket Communication

Hi Chiara,

Great! Good luck with the project.

Gr. Fred...