フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

i have a power system modeled in simulink. i want to use the power_analyze function in simulink. Is there any way that i can use this function?

2 ビュー (過去 30 日間)
Shaggy
Shaggy 2015 年 3 月 15 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have tried using the MATLAB function tool but it gives me an error stating 'The function 'power_analyze' is not supported for standalone code generation.' How do i use this function in simulink?

回答 (1 件)

Sebastian Castro
Sebastian Castro 2015 年 3 月 15 日
You can use coder.extrinsic to declare power_analyze as an extrinsic function.
This will enable you to call power_analyze from the model while you simulate it inside MATLAB, so as long as you're not generating code from the model you will be fine.
This page has more information on using coder.extrinsic to call MATLAB function not supported for code generation.
- Sebastian

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by