Clear Filters
Clear Filters

Saving Scope Data in Simulink

2 views (last 30 days)
Sugar Mummy
Sugar Mummy on 3 Jan 2022
Hello everyone,
I am working on a project where I have to save data of scope. I am using the code shown below but its not working for me as I want to save the data after every iteration and the scope have multiple variables attached. How can I do that?
for i =1:numel(All_IR)
IR=All_IR(i)
simOut=sim('ModelName')
Loggings(i).scopeData=scopeData
end

Answers (0)

Categories

Find more on View and Analyze Simulation Results in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!