A design support apparatus for supporting a generation of a code block to verify a model, being a device or system model, created by a user by referencing a source code that can be mounted on a device or system, the model operating in a model execution environment that is constructed by a CAE tool in a model-based development, the source code being registered in the code block, the design support apparatus comprising: a processor; and a storage device configured to store the source code and the model, wherein the processor is configured to: generate a terminal generation setting file in which a terminal of the code block is written, by searching a terminal block included in the model read from the storage device and defining the terminal of the code block based on the terminal block obtained from a search result of the terminal block; write, in the code block, a terminal linking code indicating a correspondence relationship between the terminal written in the terminal generation setting file and the source code; compile, using the terminal generation setting file, the code block in which the terminal linking code is written into a format executable in the model execution environment; and verify an identity between the code block and the model by providing a common input to the code block and the model in the model execution environment, wherein the processor is configured to write, in the terminal generation setting file, an input terminal based on an argument name of an argument block searched from the model, an output terminal based on a return value name of a return value block searched from the model, a global variable input terminal based on a variable name of a global variable block searched from the model, and a global variable output terminal based on the variable name of the global variable block searched from the model, and wherein the processor is configured to write, in the terminal linking code, a first code indicating that a value of the input terminal is substituted into an argument of a function represented by a function name and that a return value of the function is substituted into a value of the output terminal, based on the terminal generation setting file and the function name input by a user, a second code indicating that a value of the global variable input terminal is substituted into a global variable, based on a terminal name of the global variable input terminal; and a third code indicating that the global variable is substituted into a value of the global variable output terminal, based on a terminal name of the global variable output terminal. a processor; and a storage device configured to store the source code and the model, wherein the processor is configured to: generate a terminal generation setting file in which a terminal of the code block is written, by searching a terminal block included in the model read from the storage device and defining the terminal of the code block based on the terminal block obtained from a search result of the terminal block; write, in the code block, a terminal linking code indicating a correspondence relationship between the terminal written in the terminal generation setting file and the source code; compile, using the terminal generation setting file, the code block in which the terminal linking code is written into a format executable in the model execution environment; and verify an identity between the code block and the model by providing a common input to the code block and the model in the model execution environment, generate a terminal generation setting file in which a terminal of the code block is written, by searching a terminal block included in the model read from the storage device and defining the terminal of the code block based on the terminal block obtained from a search result of the terminal block; write, in the code block, a terminal linking code indicating a correspondence relationship between the terminal written in the terminal generation setting file and the source code; compile, using the terminal generation setting file, the code block in which the terminal linking code is written into a format executable in the model execution environment; and verify an identity between the code block and the model by providing a common input to the code block and the model in the model execution environment, wherein the processor is configured to write, in the terminal generation setting file, an input terminal based on an argument name of an argument block searched from the model, an output terminal based on a return value name of a return value block searched from the model, a global variable input terminal based on a variable name of a global variable block searched from the model, and a global variable output terminal based on the variable name of the global variable block searched from the model, and wherein the processor is configured to write, in the terminal linking code, a first code indicating that a value of the input terminal is substituted into an argument of a function represented by a function name and that a return value of the function is substituted into a value of the output terminal, based on the terminal generation setting file and the function name input by a user, a second code indicating that a value of the global variable input terminal is substituted into a global variable, based on a terminal name of the global variable input terminal; and a third code indicating that the global variable is substituted into a value of the global variable output terminal, based on a terminal name of the global variable output terminal.