MATLAB: Selecting and accessing 1 data in a timeseries object of 6 datas simulinktimeseries hi all. How do I specify 1 data in a timeseries object of 6 datas from a .mat file in Simulink? i created the .mat file to use the FromFile block, but how do i specify just 1 data and not all 6? Thanks a lot! Best Answer I think you can not. Please refer to this postThe alternatives are:1. Load the .mat file to workspace, then use the FromWorkspace block2. Just save the data you need to the .mat file Related SolutionsMATLAB: *.mat file does not appear in workspace. What is the contents of the saved file?data = load('s1.mat');disp(data)Is it empty? Then loading it will create nothing in the workspace. MATLAB: Plot selected data of the time-series Extract the respective positions values and plot.iwant = Z(40:50,:) ; % this picks Z data from 40 to 50.Now, you can plot iwant. Related QuestionSimulink – how to access time-series data loaded via a “From File” blockTime-series dataLoad .mat file from anyfolderHow to load data from the MATLAB workspace to Simulink using the From Workspace Block
Best Answer