Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

more than one instances in S-function

1 vue (au cours des 30 derniers jours)
ander
ander le 7 Mai 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by