how to interface m file and simulink model?

2 ビュー (過去 30 日間)
Ponraj raj
Ponraj raj 2016 年 1 月 29 日
コメント済み: Ponraj raj 2016 年 1 月 30 日
when i am using sim command, i shows an error that, Error using newprojectfile (line 29) Unable to load block diagram 'new_project.mdl'
and In lin 29 k=sim('new_project.mdl') is there. is there any error in syntax

回答 (1 件)

Ilham Hardy
Ilham Hardy 2016 年 1 月 29 日
Do you have this simulink model 'new_project.mdl' in your current/active folder?
  1 件のコメント
Ponraj raj
Ponraj raj 2016 年 1 月 30 日
thanks for your response.. i found the problem with data import/export and also cleared that. now its running good.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePrepare Model Inputs and Outputs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by