Using a struct throughout a m-file s-function
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!