How do I get the RTW filename of a block I am building from a script?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!