How execute command simulink matlab?

Good evening,
I would like to execute command ee_converter_flyback in matlab that appears in https://es.mathworks.com/help/physmod/sps/examples/flyback-converter.html?searchHighlight=flyback&s_tid=doc_srchtitle but i don't know how.
When I execute the command in Command Window appear the next error:
Undefined function or variable 'ee_converter_flyback'.
I have installed R2019a matlab.
Could you help me please?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 28 de Mzo. de 2019

0 votos

That example needs Simscape Electrical product installed.

6 comentarios

MARTA DOMINGUEZ ARAUJO
MARTA DOMINGUEZ ARAUJO el 29 de Mzo. de 2019
Hello,
I have Simscape properties but with R2015b version. Should it work?
Thank you.
Walter Roberson
Walter Roberson el 29 de Mzo. de 2019
In R2015b, the example was known as elec_flyback_converter and needed what was then known as SimElectronics
MARTA DOMINGUEZ ARAUJO
MARTA DOMINGUEZ ARAUJO el 31 de Mzo. de 2019
Thanks for your help. It works.
One more question, how can i get the model that appears in https://es.mathworks.com/help/physmod/sps/examples/flyback-converter-with-transformer-leakage.html for the version matlab R2015b?
Thank you so much.
Walter Roberson
Walter Roberson el 31 de Mzo. de 2019
elec_flyback_converter
MARTA DOMINGUEZ ARAUJO
MARTA DOMINGUEZ ARAUJO el 31 de Mzo. de 2019
Good afternoon Walter, The example that i have put in the last comment is another. This example is flyback Converter with transformer leakage. In this case, the command is power_flybackconverter but in R2015b not recognise it.
Thank you very much.
Walter Roberson
Walter Roberson el 31 de Mzo. de 2019
I missed the part about transformer leakage.
You need R2017a or later for that example.
Note: the example name in R2017a and later is power_FlybackConverter not power_flybackconverter

Iniciar sesión para comentar.

Más respuestas (1)

MARTA DOMINGUEZ ARAUJO
MARTA DOMINGUEZ ARAUJO el 31 de Mzo. de 2019

0 votos

Thanks for your help. It works.
One more question, how can i get the model that appears in https://es.mathworks.com/help/physmod/sps/examples/flyback-converter-with-transformer-leakage.html for the version matlab R2015b?
Thank you so much.

Community Treasure Hunt

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

Start Hunting!

Translated by