M-script error while run it

2 vues (au cours des 30 derniers jours)
Ahmed Samir
Ahmed Samir le 16 Juil 2019
Commenté : Ahmed Samir le 17 Juil 2019
After I made the mathematical equation by the simulink as see in attached photo, then i saved it , I made new script to identify the constants to the simulink then i wrote the sim order with the same name of the simulink project sim('project3test') as u see in attached photo and saved it in the same folder of simulink save file.
when i click run there is an error message in the command window appear as u see in attached photo, while the simulink project is run normally.
What is the probelm for this error and how can i fix it ?
Thanks in advance

Réponse acceptée

Walter Roberson
Walter Roberson le 16 Juil 2019
You ask to sim() project3test . However if you look carefully at the first of your two images you will see that your real model is not project3test and is instead Project3test . Capitalization matters.
  1 commentaire
Ahmed Samir
Ahmed Samir le 17 Juil 2019
Thank you very much for your help.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by