필터 지우기
필터 지우기

why a reusable function for Subsystem block cannot be generated?

조회 수: 10 (최근 30일)
sheena siddiqui
sheena siddiqui 2017년 11월 5일
댓글: Jan 2022년 5월 17일
i am working on Matlab version R2016a. i am trying to use a 3 level bridge form the library: powerlib/Power Electronics in a simulink model but when i run the simulation, an error message appears saying "Cannot generate a reusable function for Subsystem block 'modelling/<< Synthesized_Atomic_Subsystem_For_Alg_Loop_1 >>'. This subsystem is fed by the Ground block 'modelling/3-Level Bridge/Model/Ground' that has a nonscalar output signal. Either replace the Ground block with a Constant block having all zero values or modify the 'Function packaging' setting of the Subsystem block to Inline or Function This message is related to a hidden SubSystem block". The powerlib/Power Electronics is a locked library. If i try to unlock it to make the changes suggessted in the above message, then some other error message is displayed. how do i resolve this?
  댓글 수: 3
Ahmed Mohammedosman
Ahmed Mohammedosman 2021년 11월 7일
I had to check the box of "break algebric loop in internal model" in the advanced tab of the "PV array" block. This is in the help document of the "PV array" bolck.
Jan
Jan 2022년 5월 17일
Moved from flags: 蒙召 张 wrote:
this answer really solve this problem!!!!

댓글을 달려면 로그인하십시오.

답변 (1개)

Arun kumar Valusa
Arun kumar Valusa 2017년 11월 21일
Hi Basically you can't change SIMULINK inbuilt libraries , Simulink won't allow to change libraries for security purpose. If you want any modification in three level bridge take it from Power Electronics library ,Make link disable and do the modification after that create a custom library place it. use the custom library

카테고리

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