return the version information for a Modelica library - 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

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.1,versionDate=2013-08-14,versionBuild=3,dateModified=2015-01-21 18:15:00Z,revisionId=$Id:: package.mo 8066 2015-01-21 17:27:20Z #$

(1)

Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam