How to use user defined .mat file with multiple datatypes as input to simulink function block?

1 view (last 30 days)
I have .mat file with multiple datatypes and structure. Can I use this .mat file as an input parameter to the MATLAB simulink function block as it is? The data has been generated from continuous time identified state space model (idss format)
  4 Comments
Jan
Jan on 12 May 2022
Please think twice: A file name or the contents of the file?
"The data has been generated from continuous time identified state space model (idss format)" - does this matter?

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 13 May 2022
Use From File block
  3 Comments
Fangjun Jiang
Fangjun Jiang on 17 May 2022
Check the configuration parameters, Data Import/Export. There is a way to set the "initial state" using the saved "states" from a previous simulation.

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!