Info

此问题已关闭。 请重新打开它进行编辑或回答。

more than one instances in S-function

1 次查看(过去 30 天)
ander
ander 2015-5-7
关闭: MATLAB Answer Bot 2021-8-20
Good morning! I have different problems with a S-function. First of all I have a cpp file, which is called dsp.ccp, and I have diferent S-function blocks calling to this file. If i want to save the values for each instance I have read that I have to use Work vectors (Is this correct?).
If this is correct I have another problem with this. The dsp.cpp file has functions that they are in other file, called acc.cpp. If I need to use the save values (different in each instance) in this file is the only possibility sending with the function call ( execute_acc(dwork) ), or can I create this work vectors variables inside of acc.cpp.
Sorry for my English, if there is any doubt ask please.
Thanks

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by