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

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

Not able to reproduce this on my system. Can you attach sample model and code?

Sign in to comment.

Answers (1)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 16 Mar 2019

Edited:

on 21 Mar 2019

Community Treasure Hunt

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

Start Hunting!