Problem connecting two independent simulink models leading to incorrect output

2 次查看(过去 30 天)
Hi there!
I have two matlab models: a DC-DC converter and inverter. Each of the models runs independently well using the same sample time. However, the DC-DC converter takes 25 s while the inverter takes 125s to run for one second. I tried to use function-call subsystems as proposed in Problem when two Simulink models are combined. - MATLAB Answers - MATLAB Central (mathworks.com) but got the following error:
Goto/From connections cannot cross nonvirtual subsystem boundaries. The only exception is when a goto is connected to a state output port
Component:Simulink | Category:Model error
Component:Simulink | Category:Model error
How can I solve this problem? Is there any other way of connecting the models to obtain an accurate output?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Electrical Block Libraries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by