Filter löschen
Filter löschen

Too many input arguments while saving a struct?

1 Ansicht (letzte 30 Tage)
Collegue
Collegue am 10 Dez. 2019
Kommentiert: Collegue am 10 Dez. 2019
I hace a structs called Cars and I want to load the data.mat struct and after that replace the data.mat with the Cars struct and svae in the same directory as data.mat and replace it with the same name. For example
data. mat --> directory : c:/hello/data.mat
After creating Cars convert to the name data.mat and save in the directory.
save(fullfile(pwd,'data.mat'),'Car')
The problem is this:
Error using dataVisualization>save
Too many input arguments.
  2 Kommentare
Stephen23
Stephen23 am 10 Dez. 2019
@Collegue: please show the complete output of this command:
which save -all
Collegue
Collegue am 10 Dez. 2019
Thank you I got it!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by