The primary changes are the inclusion of Matlab Projects. There is one added for the Echo model and one added for the base level directory that includes the config files. The result is that on opening the Echo project, the sm_run_me_first.m script is automatically ran and the referenced projects, which are the Simulink_codegen and Simulink_models projects, have all their files loaded into the Matlab path. Currently sm_run_me_first.m already adds the files of those projects to the Matlab path, making it a bit redundant. The primary benefits would be opening the project automatically runs the initialization script as well as being able to remove the path management currently going on in sm_run_me_first and letting the projects handle it.
Additionally sm_callback_init.m has the following line added:
mp.target_system = "de10";
This is all that is needed to configure the Simulink Model for quartus generation.
The primary changes are the inclusion of Matlab Projects. There is one added for the Echo model and one added for the base level directory that includes the config files. The result is that on opening the Echo project, the
sm_run_me_first.m
script is automatically ran and the referenced projects, which are the Simulink_codegen and Simulink_models projects, have all their files loaded into the Matlab path. Currentlysm_run_me_first.m
already adds the files of those projects to the Matlab path, making it a bit redundant. The primary benefits would be opening the project automatically runs the initialization script as well as being able to remove the path management currently going on insm_run_me_first
and letting the projects handle it.Additionally
sm_callback_init.m
has the following line added:mp.target_system = "de10";
This is all that is needed to configure the Simulink Model for quartus generation.