Converting a model to a function

I'm wondering if there is a way to convert a model to a function. I don't want to use simulink to graph, instead i would like to use MATLAB function to be able to graph. For example i want to convert this model ( http://www.mathworks.com/matlabcentral/fx_files/18812/1/AP.png) to an x and y function, so i would appreciate it if someone can help me with this.

댓글 수: 1

Azzi Abdelmalek
Azzi Abdelmalek 2012년 12월 21일
Please post your simulink model. Your link is not showing a model, it's just a plot.

댓글을 달려면 로그인하십시오.

답변 (1개)

Andreas Goser
Andreas Goser 2012년 12월 21일

0 개 추천

There are some potential issues with the words you are using. Please lets make sure we are meaning the same.
A "function", is that a MATLAB function written in MATLAB code, or is the a mathematical description?
A "model", is this a Simulink model, or a set of mathematical descriptions like ODEs?
And the PNG file you linken, that is a plot of data. It is not a model. I might be the response of something int the sense of controls and that might end up in finding a model, but it may be something comepletely different.

카테고리

도움말 센터File Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품

질문:

2012년 12월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by