createInputDataset() is deleting all the data in my workspace. Why?

4 views (last 30 days)
I have a simulink model and I am running createInputDataset() to load signals into 4 inport blocks. However, when I run the following line "ds = createInputDataset(mdl);" all the previous data in the workspace gets deleted. Even ds. Why?
  1 Comment
Dhanashree Mohite
Dhanashree Mohite on 20 Mar 2019
Edited: Dhanashree Mohite on 20 Mar 2019
Not able to reproduce this on my system. Can you attach sample model and code?

Sign in to comment.

Answers (1)

Dhanashree Mohite
Dhanashree Mohite on 21 Mar 2019
Edited: Dhanashree Mohite on 21 Mar 2019
Please follow steps given in below link and it's working fine on my system.

Community Treasure Hunt

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

Start Hunting!