フィルターのクリア

Link to Simulink Model File from m-file

10 ビュー (過去 30 日間)
Sakthivel Aruchamy
Sakthivel Aruchamy 2011 年 10 月 12 日
I am doing a project in active power filter. I am taking the values from simulink model file and processing the values using algorithm and i have to connect the output of m-file to model file.
Kindly help me in linking m-file to simulink model file.

回答 (2 件)

Max
Max 2011 年 10 月 12 日
just go through the embedded matlab function available in the simulink ...it will serve the purpose of communicating between the m file and the simulink

TAB
TAB 2011 年 10 月 12 日
What is output of your m-file which you want connect with model?
If you want to access variables (data) of your m-file from model, then save the output variables to base workspace. In you model, use 'From Workspace' and 'To Workspace' blocks to access and modify these variables.
Library Browser > Sinks > To Workspace
Library Browser > Sources > From Wprkspace

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by