Is there a tool for copying equations from, say, the MATLAB documentation into a .m file?

1 回表示 (過去 30 日間)
Keenan Barazi
Keenan Barazi 2021 年 3 月 8 日
回答済み: Arthi Sathyamurthi 2021 年 3 月 24 日
Alternatively, is there a way to access/generate an .m file for a single Simulink block? Specifically, I want to take all of the Induction Motor equations, input whatever values I have, and calculate whichever values I'm looking for. Ideally I'd like to do it symbolically. There's nothing stopping me from typing all of this manually other than that there are a lot of equations and it would take a long time.

回答 (1 件)

Arthi Sathyamurthi
Arthi Sathyamurthi 2021 年 3 月 24 日
Hello Keenan,
You cannot find the M file of the ‘Induction motor’ Simulink Block. You can find the subsystem blocks of it by right clicking the block and selecting Mask -> Look Under Mask option. After which you can double click the subsystem to open up.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by