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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Subsystems 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by