Page 2 of 2

Re: eML

PostPosted: Thu Apr 02, 2009 8:19 am
by snyder
Adding the functions should not be a problem. The "for" and "while" loops will take some work but need to be done.

>>I also have to ask if element wise math is allow such as [A].^2?
I saw this syntax in your example. We will need to add support for the element wise notation.

Only sub-functions in the same m-script file can be called at this time. I'll have to do some research into calling in-house functions to see if handling those would be feasible.

C

Re: eML

PostPosted: Mon Apr 13, 2009 11:33 am
by jyoung
Chris,

Have you found out anything more about calling functions from within eML?

I'm noticing that most if not all of our models utilize this to some degree. As an example

This is an eML block

function states_out = call_init( inputs_in, parameters_in )

states_out = PREDGUID_init( inputs_in, parameters_in );



where PREDGUID_init is another much larger m-file.

Thanks

Re: eML

PostPosted: Wed Apr 15, 2009 7:50 am
by snyder
I was doing some more brainstorming on this and technically I don't see a problem with implementing this enhancement.

Re: eML

PostPosted: Tue May 05, 2009 4:15 pm
by jyoung
Chris,

Would you have an estimate on when these additioal capabilities might be avaliable?

Thanks