Info

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

Error when use call function with undefined function '....' for input arguments of type 'double'

1 vue (au cours des 30 derniers jours)
Noury Chan
Noury Chan le 28 Jan 2019
Clôturé : Rik le 28 Jan 2019
% Locate the operating point of PV module and
% calculate its voltage, current, and power
f = @(x) x - Rin*bp_sx150s(x,G,TaC);
Va_k = fzero (f, [0, 45]);
Ia_k = bp_sx150s(Va_k,G,TaC);
Pa_k = Va_k * Ia_k;
Error :
Anonymous functions are not supported for code generation
Undefined fucntionor variable 'z'
Undefined function or variable 'Va'
Anyone can advice?
Thx.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by