I got an 'Could not find initial value for global variable' error message when I build a MATLAB function with MATLAB coder
Mostra commenti meno recenti
Hello,
I'm trying to get a auto-generated code for a MATLAB function. Many things happened and I coded again to fit it to MATLAB coder. But I'm not able to find the solution to the error message.
'Could not find initial value for global variable xxx'
I explicitly declared global variables in my MATLAB function code. So I think I don't need to assign values to them.
What is the cause of this erroe message? Do you have any solution to avoid it?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Algorithm Design Basics in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!