I have simulink model contains multiple subsystems and one of the subsystem contains transfer functions which is defined in Matlab script as:
Z_tot = (1/(s*C_MOSFET))*(R_MOSFET + Z_C_Cu_Rcu_Rdielec_Z_ans)/((R_MOSFET + Z_C_Cu_Rcu_Rdielec_Z_ans)+(1/(s*C_MOSFET)));
[num_th,den_th] = tfdata(Z_tot,'v');
And when i simulate my model i have one error related to transfer functions. The full error sstatement is shown as below.
Invalid setting in 'model_1/GoKart/Inverter/T_junction_MOSFET/Transfer Fcn Heat sink 1' for parameter 'Numerator'.
Error evaluating parameter 'Numerator' in 'model_1/GoKart/Inverter/T_junction_MOSFET/Transfer Fcn Heat sink 1'
Unable to use a value of type tf as an index.
Please give me some recomendations to solve the problem.
Thanks in advance!