Using a struct throughout a m-file s-function
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I'm writing a Level2 Matlab s-function and am having trouble with structures. I create a structure by making a call to a matlab function in the Start section as follows:
radarData = readRadarResimFiles();
I want to be able to use the structure radarData in the Outputs block but I get the following "Undefined function or variable 'radarData'." I have tried declaring radarData as global in a number of different sections of my s-function, but to no avail. Any suggestions would be appreciated.
I am using 2011b.
Thanks...
Mike
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!