I've been trying to understand how automotive engineers utilize MATLAB and C language in vehicle development, but I'm still unclear on the process.
Let's say we have a simple task, such as developing a system to turn on/off head lights using a button, and we're using MATLAB and C language.
I want to grasp the roles of MATLAB and C in this scenario. Do we write the C code directly in MATLAB, or do we create a model in MATLAB that generates the C code? Then, does this C code get compiled into an executable file that runs on the vehicle's hardware?
Essentially, I'm looking clarification on the overall process and how MATLAB and C language fit into it. Any insights or guidance would be greatly appreciated to help me understand the process better. Thank you!
Let's say we have a simple task, such as developing a system to turn on/off head lights using a button, and we're using MATLAB and C language.
I want to grasp the roles of MATLAB and C in this scenario. Do we write the C code directly in MATLAB, or do we create a model in MATLAB that generates the C code? Then, does this C code get compiled into an executable file that runs on the vehicle's hardware?
Essentially, I'm looking clarification on the overall process and how MATLAB and C language fit into it. Any insights or guidance would be greatly appreciated to help me understand the process better. Thank you!