While using class method to create an object: "Base object for class 'Test_class' constructor is invalid".
Ältere Kommentare anzeigen
I am trying to create a class using state space ss class as parent class and a struct P1 as follows:
P1.n=0;
P1.p=0;
P1.q=0;
P1.l=0;
P1.m=0;
P1=class(P1,'Test_class',ss);
My guess is there is a problem with size matching but i cannot figure it out.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Handle Classes 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!