Hello guys,
stcDesignspec.cfvw=pi/3; % correction factor for voltage waveform to get Vs-Area
stcDesignspec.f=f; % nominal operating frequency (Hz)
stcDesignspec.we=2*pi*f; % nominal operating frequency (rad/s)
stcDesignspec.Vp=Vp; % primary DC voltage (V)
stcDesignspec.Vs=Vs; % secondary DC voltage (V)
the lines which are given above are part of my matlab programming. I want to write them in class-based program. i have given the classname as classdef clDesignspecifications. i want to include these parameters in this class. in which category should i include them. when i write them in properties it is showing as syntax error. how should i solve this problem?
Thankyou