MATLAB: How to select column from Table and create variable

how to select column from table and create variableMATLAB

Dear all,
Below is my code
clc;
close all;
clear all;
% Prepare DataSet
Trans = readtable('Ts_NData.csv');
Time = Trans(:, 1:4);
Los = Trans(:,5);
In this code Matlab create a new table not varibale. how i can create variable with this dataset.

Best Answer

Time = Trans{:,1:4};
Los = Trans{:,5};
Related Question