Hi Ferdaous,
To establish an interactive connection between MATLAB and ANSYS, consider exploring this File Exchange resource. It provides a function specifically designed to calculate the cross-section properties of an I-beam based on its dimensions. However, it can also be utilized for any application requiring a link between MATLAB and ANSYS. More details about the function can be found in the File Exchange link below: https://www.mathworks.com/matlabcentral/fileexchange/53032-interactive-link-between-matlab-and-ansys?s_tid=FX_rc1_behav
Hope this helps!