可以在运行时更改属性属性

时间:2019-03-04 17:16:44

标签: matlab oop

是否可以在运行时在MATLAB中更改属性属性?考虑类似的东西:

classdef VideoWriter < handle

  properties (SetAccess = public, GetAccess = public)

    some_prop = 123;

  end

  methods

    function v = lock ()

      magic here which changes SetAccess = private
      for same_prop

    end

end

0 个答案:

没有答案