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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

Arthi Sathyamurthi
Arthi Sathyamurthi il 24 Mar 2021
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.

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by