Filter löschen
Filter löschen

beginners question on I/O

2 Ansichten (letzte 30 Tage)
Robert  Dunne
Robert Dunne am 18 Feb. 2020
Beantwortet: Navya Seelam am 21 Feb. 2020
Hi matlab answers,
My question is embarrisingly simple. I can't get simple things to work. For example, follwowing the mathworks tutorial I tried to read
in a file containg a matrix in a comma separated format. However the "readmatrix" function is undefined. I see nothing in the tutorial about loading a
library to get access to I/O functions. What is going on?
c082: matlab -nodesktop -nosplash
MATLAB is selecting SOFTWARE OPENGL rendering.
< M A T L A B (R) >
Copyright 1984-2018 The MathWorks, Inc.
R2018b (9.5.0.944444) 64-bit (glnxa64)
August 28, 2018
To get started, type doc.
For product information, visit www.mathworks.com.
>> M = readmatrix('basic_matrix.txt')
Undefined function or variable 'readmatrix'.

Antworten (1)

Navya Seelam
Navya Seelam am 21 Feb. 2020
I see you are using MATLAB R2018b but the function readmatrix is available from 2019a. Update to R2019a or R2019b to access the function.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by