if true classdef test1 %UNTITLED Summary of this class goes here
% Detailed explanation goes here
properties end methods function example(obj) ... % The calculation Part
... stru % The calculation part returns "struct" which is a structure
%with 5 fields and these 5 fields have some sub fields in them
end end
The above shown code is my class(test1) which has a method named "example" which calculates a structure named "stru". Stru is a structure with 5 fields and those 5 fields in turn have 3 subfields. ———————————————————————————————-
My Question: How can I access the structure "stru" in some other method of a different class but which is also stored in the same working directory. Please note, I am using both classes in my GUI.
Best Answer