Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

22 lines
617B

  1. classdef Channel
  2. %CHANNEL Summary of this class goes here
  3. % Detailed explanation goes here
  4. properties
  5. Property1
  6. end
  7. methods
  8. function obj = Channel(inputArg1,inputArg2)
  9. %CHANNEL Construct an instance of this class
  10. % Detailed explanation goes here
  11. obj.Property1 = inputArg1 + inputArg2;
  12. end
  13. function outputArg = method1(obj,inputArg)
  14. %METHOD1 Summary of this method goes here
  15. % Detailed explanation goes here
  16. outputArg = obj.Property1 + inputArg;
  17. end
  18. end
  19. end