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

조회 수: 1 (최근 30일)
Kevin
Kevin 2011년 6월 2일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Build MATLAB Interface to C++ Library에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by