필터 지우기
필터 지우기

Too many input arguments while saving a struct?

조회 수: 1 (최근 30일)
Collegue
Collegue 2019년 12월 10일
댓글: Collegue 2019년 12월 10일
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
Stephen23
Stephen23 2019년 12월 10일
@Collegue: please show the complete output of this command:
which save -all
Collegue
Collegue 2019년 12월 10일
Thank you I got it!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by