How to view contents of .mat file in Visual Studio?

107 views (last 30 days)
rasoul rad
rasoul rad on 29 May 2016
Answered: Anil Kamat on 19 Mar 2021
I have a generated code from a Simulink model. This code dose not have any error when i compile it in Visual Studio. Also, This model saves the scope data into a .mat file. I used "TO File" block to save scope data. Now, how can i view the contents of that .mat file in Visual Studio? I use Visual Studio 2012. Thanks for any idea.

Accepted Answer

Walter Roberson
Walter Roberson on 29 May 2016

More Answers (1)

Anil Kamat
Anil Kamat on 19 Mar 2021
Additional detail on linking the header file, library, dependencies and external directory to the project in visual studio 2019 can be found in the follwoing link.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by