Author Topic: How to link matlab with west  (Read 530 times)

Delia

  • Posts: 6
    • View Profile
How to link matlab with west
« on: November 06, 2018, 01:48:41 pm »
Hello,
We are trying to link West 2016(x64) with Matlab(R2018b), using the following method: "Integration of Tornado with MATLAB through .NET" .
During the execution Matlab shows several errors:

- I | Loading license map spec: \etc\Keys.map|.Tornado
-I/O error: License map file cannot be opened: \etc\Keys.map | ..\..\..\..\src\Common\XML\XMLLicenseMap.cpp:76

Also, we would like to know,  while we are using the example 'TwoASU' what's the meaning of this variable: ' $(TORNADO_DATA_PATH) '  and this parameter: 'Tornado.main.xml' in the file generated in Matlab.

Thank you in advance,
 Delia.

Enrico Remigi

  • Posts: 320
    • View Profile
Re: How to link matlab with west
« Reply #1 on: November 06, 2018, 03:56:11 pm »
Hello Delia,
what kind of license do you have?

The Tornado data path is the path where it looks for some key-files, e.g. the Tornado Main.
The Tornado Main is a file containing a whole lot of settings for WEST / Tornado, e.g. which solvers to load and which units (and conversions) are known to Tornado.
Enrico U. Remigi
Wastewater Process Modeller
DK Urban
Kortrijk (Belgium)

Delia

  • Posts: 6
    • View Profile
Re: How to link matlab with west
« Reply #2 on: November 07, 2018, 09:07:35 am »
Hello again.
 
We have a DHI Network license.
As I told you before we are following the pdf attached below, in particular the section called 'Integration of Tornado with MATLAB through .NET'.

Thank you,
Delia

Enrico Remigi

  • Posts: 320
    • View Profile
Re: How to link matlab with west
« Reply #3 on: November 07, 2018, 10:24:49 am »
Hello Delia,
ok, whether network (multi-seat) or personal is not relevant in this case: do have a WfAUTOMATION license ? because I believe this is what's needed for such advanced features ...
Is your institution Jaume I University in Valencia?
Enrico U. Remigi
Wastewater Process Modeller
DK Urban
Kortrijk (Belgium)

Delia

  • Posts: 6
    • View Profile
Re: How to link matlab with west
« Reply #4 on: November 07, 2018, 12:10:16 pm »
Hello,

Yes, I am a student of Jaume I University .So, how can I get the Automation license?

Enrico Remigi

  • Posts: 320
    • View Profile
Re: How to link matlab with west
« Reply #5 on: November 07, 2018, 08:16:36 pm »
Apologies, I am sure I had replied: it must have gotten erased.
You should probably request it through your IT manager or supervisor to DHI Spain.
Enrico U. Remigi
Wastewater Process Modeller
DK Urban
Kortrijk (Belgium)