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

Warning, could not find application configuration /home/build/.MapleSim/2023/maplesimrc

version=3.2.3,versionDate=2019-01-23,versionBuild=4,dateModified=2020-06-04 11:00:00Z,revisionId=f0e7c0d4aa 2020-06-05 10:25:03 +0200

(1)