Matlab function block in simulink
Matlab function block in simulink
(OP)
How can I include a matlab user defined function with two inputs and two outputs to a simulink "matlab function block" ?
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
Matlab function block in simulink
|
RE: Matlab function block in simulink
In the function, the returned value is a real number. And I set the output width as 1 and set the output type as real. But simulink gives an error "Evaluation of expression resulted in an invalid output. Only finite double outputs are supported".
Does anyone have any idea about this?
RE: Matlab function block in simulink
RE: Matlab function block in simulink
http://www.mathworks.com
--------------------------------
Emmanuel A. Gonzalez, E.C.E.