How can I use mat file in matlab function ?

I have a mat file which has 21 different strcuts. I need to use them in my function however I cannot load or reach them from workspace. How can I solve this? Thanks in advance.

回答(1 个)

Try this:
storedStructure = load('yourMatFileName.mat')
Attach the .mat file with the paper clip icon if you still have trouble.

类别

帮助中心File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by