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

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

 Accepted Answer

Atsushi Ueno
Atsushi Ueno on 15 Aug 2021

2 votes

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

1 Comment

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!