Export Scope View in PLECS Blockset

Thank you very much for your answer. It helped me a lot.

There is only one little problem left I have:

The simulation runs several times with different data exported from .txt datasheets.

Now I want to have the names of the .txt datasheets as ‘fileName’ of the exported Scope.

Do you know how I can do this (name the file after a string)?

Kind regards