MapleSim[Tools] - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : MapleSim Application Programming Interface : API Commands : Tools : MapleSim/Tools/LibraryVersion

MapleSim[Tools]

  

LibraryVersion

  

return the version information for a Modelica library

 

Calling Sequence

Parameters

Returns

Description

Examples

Calling Sequence

LibraryVersion(library)

Parameters

library

-

string ; name of Modelica library

Returns

• 

list : list of equations defining:

– 

"version" : version number of the given library

– 

"versionDate" : date of the first version build

– 

"versionBuild" : the number of the maintenance update

– 

"dateModified" : date and time of the latest change to the package

– 

"revisionId" : revision identifier of the version management system used to manage this library, representing the latest change to any file of the library.

Description

• 

The LibraryVersion command returns information about the Modelica library used in MapleSim.

• 

The information is retrieved from the corresponding annotations in the library. If an annotation is not defined for the given library, the value is NULL.

Examples

MapleSim:-Tools:-LibraryVersionModelica

version=3.2.3,versionDate=2019-01-23,versionBuild=2,dateModified=2019-03-20 12:00:00Z,revisionId=8f65f621a3 2019-03-20 09:22:19 +0100

(1)