LibraryVersion - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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=4.0.0,versionDate=2020-06-04,versionBuild=,dateModified=2020-06-04 11:00:00Z,revisionId=6626538a2 2020-06-04 19:56:34 +0200

(1)