hi…how can I convert a structure produced from matlab simulink into another datatype(double for example)such that I can use it into another function?
Best Answer
Functions can take structures (created from Simulink or elsewhere). It depends on which function you're trying to call. That determines what the input should be. Astructure is just a collection of data that may contain other types of data. Type the name of the structure into the Command Window to see what's inside. You can grab the data inside by accessing the fields, e.g.
Best Answer