Managing External Resources

You can manage external resources, i.e. files that are not Modelica (.mo or .moe) files.

You can add, remove or replace a file in a library, you can also organize resources by creating folders in the library structure and storing them.


Before you begin: Make sure:
  • Your resources belong to a library.
  • The library contains a .mo or .moe file.
  • The ressource name contains ASCII characters.
Related Topics
About Dynamic Behavior Modeling
Creating a Dynamic Behavior Library
  1. From the Authoring toolbar, select Resources Management.

    A Resources Management dialog box appears.

  2. To add a file:

    1. Check the Add file(s) option.
    2. Click Browse next to the Add file(s) field.

      A Select files dialog box appears.

    3. Select the file you want to add and click Open to validate your selection and close the Select files dialog box..
    4. Click Add.

      The selected file is added into the library folder.

  3. To add a folder along with its content:

    1. Check the Add a folder option.
    2. Click Browse next to the Add a folder field.

      A Select files dialog box appears.

    3. Expand until the required folder and click Open to validate your selection and close the Select files dialog box.
    4. Click Add.

      The path until the selected folder appears in the Add a folder field.

  4. To remove a resource:

    1. Select a file or a folder from the library.

      The name of the selected file or directory appears in the Resource to delete field.

    2. Click Delete.

      The selected file or folder is removed from the library.

  5. To replace a resource:

    1. Select a file from the library.

      The selected file appears in the Original File field.

    2. Click Browse.

      A Select files dialog box appears.

    3. Select a file then click Open to validate your selection and close the Select files dialog box.
    4. From the Resources Management dialog box, click the Replace button.

      The selected file replaces the original file and appears in the New File field.

  6. To create a folder:

    1. Select a folder from the library.

      The selected folder appears in the Insert Infield.

    2. Enter a name for the new folder.
    3. Click Add Folder.

      The created folder is added into the selected folder.