Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » APP4MC » getSwModel()
getSwModel() [message #1779032] Fri, 29 December 2017 11:37 Go to next message
Ana Perez Oyarzabal is currently offline Ana Perez OyarzabalFriend
Messages: 1
Registered: December 2017
Junior Member
Hello everyone,

I'm trying to have access to the software model AMALTHEA_Democar_CPP to calculate properties of parallel algorithms via a Helper Class.

I'm trying to put it in a variable like this:

static SWModel swm = model.getSwModel();

writing first the following code line:

static Amalthea model = UniversalHandler.getInstance().getCentralModel();

and adding the respective imports.

I get no error but it doesn't work.

Does someone have any tip for me?

Thank you very much.
Re: getSwModel() [message #1782574 is a reply to message #1779032] Mon, 26 February 2018 15:47 Go to previous message
Robert Hoettger is currently offline Robert HoettgerFriend
Messages: 1
Registered: September 2017
Junior Member
Hello Ana Perez,

if you want to read an AMALTHEA file (*.amxmi) locally, you can either use e.g.
UniversalHandler.getInstance().readModels(uri, copyModel);
or
ModelLoader.getModel(string);
.
Please let us know if that does not work for you.
Previous Topic:Very Interested in Progress
Next Topic:Problem with the File "rover082.amxmi"
Goto Forum:
  


Current Time: Tue Aug 21 06:26:06 GMT 2018

Powered by FUDForum. Page generated in 0.02191 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top