|
On Mar 2, 8:46=A0am, "Chong Jin Yang" <chongjiny...@yahoo.com> wrote:
> Hello,
>
> I'm just a student currently working on my control systems project. I'm q=
uite new to Matlab so i appreciate any help and opinions.
>
> I have designed a waste water treatment plant (WWTP) system in Simulink. =
As the system runs, I need to get the data from Simulink and use the Geneti=
c Algorithm (GA) solver to produce optimised control inputs. Can the S-func=
tion call the genetic algorithm solver? Or must I export the Simulink data =
into a workspace and from there it is accessed by a separate M-file code wh=
ich then calls the GA solver.
>
> Regards,
> Chong
u can call simulink the c code or M code of GA solver?
there r quite number of EXAMPLES ON HOW TO WRITE S- functions
|