Errors occurred during parsing of MATLAB function block-consisting of ODE definition and ode solver syntax in the sequence of nested function loops.

I am solving a set of 4 simple differential equations via nested function loops in matlab function block(simulink). When i am running the code in matlab alone(without integrating with simulink) i run my code successfully.But when i am integrating the code with simulink i am getting a number of errors,which i am unable to understand.Kindly help me resolve this issue.I have attched the simulink file and error report screenshot.

Answers (0)

Asked:

on 24 Jan 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!