Ashish Khemka
Forum Moderator

Hi,

For first question please see the following link: Interactive link between MATLAB and ANSYS - File Exchange - MATLAB Central (mathworks.com)

You can search the net for more details on optimization.

Having a zero deformation with load indicates a rigid spring (infinite stiffness) or do you mean to say that with load is zero at the deflected (equilibrium/ mean) position of the spring? Please provide more details.

Regards,

Ashish Khemka