convert a classdef matlab to python

November 14, 2019 117 views
Python

Hi,
I am trying to write a matlab code into python, in this code each class is define in separate code, fro example, when it reads the first class function it goes to the other class in other code and do some structure and back previous step, (I am new to python, my Q is that should I start from last class and I should write each class in separate code like matlab?)

this is part of first class which goes to other class in other code and follow some rules and back.

classdef TModelParameterCell1D_Iso < TModelParameterCell1D
% class for 1D model parameters

properties
end
methods
    %*******************************************************************
    function obj = TModelParameterCell1D_Iso(varargin)
        % class constructor
        obj = obj@TModelParameterCell1D( varargin{:});
    end
end

end

Be the first one to answer this question.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!