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

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

 Respuesta aceptada

Atsushi Ueno
Atsushi Ueno el 15 de Ag. de 2021

2 votos

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

1 comentario

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

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

el 14 de Ag. de 2021

Comentada:

el 16 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!