MATLAB Answers

Is it possible to convert code written in the Matlab language into a Simulink block diagram?(Edited)

7 ビュー (過去 30 日間)
Shunsuke kishi
Shunsuke kishi 2019 年 9 月 17 日
回答済み: Raj 2019 年 9 月 18 日
I'm looking for a way to convert code written in Matlab language into a Simulink block diagram. If you can understand, please teach me.

  2 件のコメント

Raj
Raj 2019 年 9 月 17 日
Your question title says you want to 'convert blocks created in Simulink to Matlab language' where as body of the question says 'way to convert code written in Matlab language into a Simulink block diagram'. Both are contradicting. Which one are you looking for?
Shunsuke kishi
Shunsuke kishi 2019 年 9 月 17 日
I'm sorry, I made a mistake. It is correct in the body of the question. I want to convert code written in Matlab language into a Simulink block diagram.

Sign in to comment.

その他の回答 (1 件)

Raj
Raj 2019 年 9 月 18 日
It is always recommended to be specific with your questions and also mention the MATLAB version that you are using. With the information that you have provided, you can convert your MATLAB scripts to functions and then use the 'MATLAB function' block in simulink to run these functions.
See these for details:
Hope this helps!

  0 件のコメント

Sign in to comment.


Translated by