AnyOutputfile references

Hi all,
I’m using AnyOutputFile to export data but I would like to have a different file from the main, where listing those data, since they are a lot. Is there a way to make a reference to a file containing all the anyoutput functions from the Study?

kind regards,
Noemi

Hi noemibarba!

Thank you for your question!

I am a bit unsure what exactly you are trying to achive, but it sounds like a model structure issue.

If you currently have a .main.any file with everything in it, then yes! you can split that file up into multiple .any files to structure your work.

You could put all of your output measures inside a .any file and include that file where you want.
using the #include statement inside your study definition.

#include “path/to/new/file.any”

And if you want, you can separate both your study and outputfile definitions in separate .any files.

For more information in include files, see the tutorial here

For more specific information on the AnyOutputFile class, download the class example. (1.2 KB)

Regards,
Bjørn

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.