Getting output from Simulink using m-file (link for m-file in simulink)

2 vues (au cours des 30 derniers jours)
Amir Xz
Amir Xz le 14 Août 2018
Commenté : Amir Xz le 15 Août 2018
Hi, I wanna create a link in Simulink, something like a link that exist in "ssc_engine_cooling_system". See image below:
What shall I do? Thank you

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 14 Août 2018
Double click the annotation box to enter the "edit" mode, hover over the hyper link and right click, select "Hyperlink ..." and you will see the dialog.
If you want to start from your own, create an annotation text, select them and then right click, select "Hyberlink ..." and then specify "matlab:YourMfile".
  3 commentaires
Fangjun Jiang
Fangjun Jiang le 15 Août 2018
Okay, "matlab:" should not be there.
You can add the folder into MATLAB path.
Or, put in "run('fullpath\testMfile')"
Amir Xz
Amir Xz le 15 Août 2018
Thank you so so much. It's worked:
matlab:run fullpath\testMfile

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by