Problem with powergui in reference model

7 ビュー (過去 30 日間)
Raditya Arrizki Dewantara
Raditya Arrizki Dewantara 2020 年 4 月 1 日
回答済み: Lin Shaun 2021 年 6 月 8 日
Hello everyone
I have a simulation which currently requires me to have a reference model which has a faster sampling rate than the rest of the simulation. I need to measure the voltage in this model thus require to put another powergui block inside it. But now I'm getting this error
"Invalid run-time parameter registration in S-function 'sfun_spssw_discc' in model 'FPGA'. An S-function can register run-time parameters only if the S-function is being inlined. To be able to reference the model 'FPGA', the S-function 'sfun_spssw_discc' needs to set the option SS_OPTION_USE_TLC_WITH_ACCELERATOR and it needs to have a TLC file."
Not really sure how to solve this issue, any advice would be very appreciated!

回答 (1 件)

Lin Shaun
Lin Shaun 2021 年 6 月 8 日
"powergui", "Preferences", "Use TLC file when in Accelerator Simulation Mode and for code generation".

カテゴリ

Help Center および File ExchangeElectrical Block Libraries についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by