A numerical control method and numerical control system

A numerical control method characterized by including: a step of storing in a memory of the control data of a control axis, obtained by performing an actual machine test for a sub-program of a numerical control machine tool; a step for performing a predetermined optimization process for the control data stored in the memory; a step of storing the optimized control data in a memory; and a step of performing the numerical control based on the optimized control data in the memory.