When I create the Sumulink model (.slx) in MATLAB using the following MATLAB code, I write my data into it.
h = load_system(pathToFile); set_param(h, 'Metadata', properties)
The .slx file has a zip format, so I managed to find out that my data is being written to the .mxarray file.
Can you please tell me how can I extract my data from a .slx or .mxarray file using C #? Or how else can I write custom properties to the .slx file so that I can get them in the C # project?

word/document.xmlfile which is in zip. - nick_n_aReadface - and you will read the "metadata". Without details, the more specific answer will not work. Specify, show the dump signatures. Look at sample signatures in the zip dump. Ru.stackoverflow.com/a/681886/17974 - nick_n_aZipFile, if you are a beginner, then it will be easier for you through ZipFile. It does not support streams, there are examples ru.stackoverflow.com/questions/478971/… . ZipFile is on msdn. docs.microsoft.com/en-us/dotnet/standard/io/… - nick_n_a