User Subroutine creates m-function with users optimization problem prepared in Main Toolbox Window.

To open User Subroutine Window go to Menu of the Main Toolbox Window-> Subroutines->User Subroutine

 

create_psg_subroutine

 

User Subroutine Window

 

User Subroutine Window consists of objects:

 

1.Text field M-file with subroutine for editing path to folder for storing m-file with user subroutine and its name.
2.Text field MAT-file with Data for path to folder for storing mat-file with data. This field is not editable and is filled automatically by the information from text field M-file with subroutine.
3.Text field M-file with Function Call for path to folder for storing m-file with example code for running user subroutine. This field is not editable and is filled automatically by the information from text field M-file with subroutine.
4.Button ... for choosing folder for text field M-file with subroutine.
5.Button Save for saving m and mat files in the chose folder.

 

 

See also

tbpsg_create_user_subroutine