how to interface m file and simulink model?

1 Ansicht (letzte 30 Tage)
Ponraj raj
Ponraj raj am 29 Jan. 2016
Kommentiert: Ponraj raj am 30 Jan. 2016
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

Antworten (1)

Ilham Hardy
Ilham Hardy am 29 Jan. 2016
Do you have this simulink model 'new_project.mdl' in your current/active folder?
  1 Kommentar
Ponraj raj
Ponraj raj am 30 Jan. 2016
thanks for your response.. i found the problem with data import/export and also cleared that. now its running good.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by