Question

convert a classdef matlab to 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


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer