I have a make hook script that runs to link several parts of a model together. I need my external program to know what is the compiler directory's path. I normally use get_param(gcs,'CompilerDr'), but this model has many subsystems, and sometimes gcs will latch to a subsystem instead of the top level model. Subsystems don't have this property, therefore the make hook fails.
What alternatives are there to get "CompilerDir"?
Best Answer