別ファイルでコンストラクタを使用したい

別のmファイルで定義されたクラスのコンストラクタを使用したいのですが、できますでしょうか?

 Akzeptierte Antwort

Atsushi Ueno
Atsushi Ueno am 15 Aug. 2021

2 Stimmen

>次のメソッドは classdef ファイルで定義します。これらのメソッドを別ファイルで定義することはできません。
  • クラス コンストラクター
  • (省略)

1 Kommentar

yuichiro sano
yuichiro sano am 16 Aug. 2021
できないんですね。ありがとうございます。

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!