Putting file properties into matlab-compiled programs/libraries

Is it possible to specify file properties, e.g. version number and copyright information, when using the matlab compiler and have that information added to the file properties viewable by the operating system? I don't see anything about this in the documentation for mcc.

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2011 年 10 月 21 日

0 投票

I don't think this is directly supported by MATLAB Compiler, but if you know how to do it with the compiler you've selected using "mbuild -setup", you can modify the mbuild options file to do this. See Solution# 1-9PW9L1 for an example that chooses LCC as the compiler.

1 件のコメント

Guy
Guy 2011 年 10 月 27 日
Thanks. It seems frigging the lcccomp.bat file and using a resource script is the only way to do it.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeC Shared Library Integration についてさらに検索

質問済み:

Guy
2011 年 10 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by