how to select column from Table and create variable

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.

 採用された回答

Stephan
Stephan 2019 年 4 月 23 日
編集済み: Stephan 2019 年 4 月 23 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeTables についてさらに検索

製品

リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by