Saving Scope Data after each iterations

조회 수: 3 (최근 30일)
Sugar Mummy
Sugar Mummy 2022년 1월 3일
Hello, I am facing a problem where I have to save Scope data having multiple variables. I am using the code shown below but its not working for me as I want to save the data after every iteration. How can I do that?
Any help would be greatly appreciated. Thanks!
for i =1:numel(All_IR)
IR=All_IR(i)
simOut=sim('ModelName.slx')
save('dataset.mat',i)
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by