how to interface m file and simulink model?

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일

0 개 추천

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.

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

카테고리

도움말 센터File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기

질문:

2016년 1월 29일

댓글:

2016년 1월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by