How do I get the RTW filename of a block I am building from a script?

1 Ansicht (letzte 30 Tage)
Kevin
Kevin am 2 Jun. 2011
I have a block, buried in a model, and I am trying to get the primary .cpp file name out of it (using a script). We are using encapsulated cpp, and there are a handful of files, but I am wishing to get the basic, top-level file name (perhaps the .h file would be more appropriate, since that is where the class definition is).
I am currently able to get the interface spec using: lcInterfaceSpec.getClassName;
How about the path where this file gets generated?

Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by