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

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

 Réponse acceptée

Atsushi Ueno
Atsushi Ueno le 15 Août 2021

2 votes

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

1 commentaire

yuichiro sano
yuichiro sano le 16 Août 2021
できないんですね。ありがとうございます。

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!