s-function ソースコード管理について
Mostrar comentarios más antiguos
s-function ソースコード管理に関する質問です。
下記のようにフォルダ0の下にフォルダ1と2があり、 main.mdl の中で s-function の s_func1 と s_func2 を使っているとします。 s-function 自体のビルドは、フォルダ1と2の各々に移動して実施しています。
フォルダ0 main.mdl フォルダ1 s_func1.h s_func1.c s_func1.mexw64 フォルダ2 s_func2.h s_func2.c s_func2.mexw64
フォルダ0上で main.mdl をビルドする際、addpath でフォルダ1と2を参照しています。 このとき
(1) s_func*.h と s_func*.c は main.mdl のビルドに直接関係していますか。 それとも、s_func*.mexw64 のみが直接関係していますか。 (2) s_func1.h と s_func2.h は、名前が同じで内容が異なるように設計しても 問題ないでしょうか。 (質問 (1) で、s_func*.mexw64 のみが直接影響いれば問題ないと予想しますが、 この予想は正しいでしょうか。)
以上、ご教授よろしくお願いいたします。
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!