open data tse.dat

Hello
Good time
Sorry, I have a problem with .dat format data.
In the tspdlib model, why are the Tse.dat data as shown below?

TSe.dat

1 ����

1 Answer

0

Hello,

It seems that you may be trying to open the data file TSe.dat using the File>Open option from the menu. This will the file in the file editor, which generally doesn't work for displaying data (with the exception of .txt files).

There are several ways to import data files:

  1. Using the Data Import Wizard by going to File > Import Data.
  2. Using the loadd command as discussed in the "Loading variables from a data file" tutorial.

As an example, let's look at the data loading in the example file Tsuroot.e from the tspdlib library.

// Load date file
y = loadd(__FILE_DIR $+ "TSe.dat");

This section of code tells GAUSS to import the TSe.dat file and uses __FILE_DIR to set the load path.

Once the data is loaded you can view the data a number of ways.


You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy