How do you save parameters for a stereo camera

10 Ansichten (letzte 30 Tage)
Ty Olmstead
Ty Olmstead am 15 Jun. 2018
Beantwortet: Adam am 15 Jun. 2018
tried StereoCalFileName = 'C:\User\Name\Documents\MATLAB\StereoCalFiles\StereoCalibrationFile,mat' Varstosave = toStruct(app.StereoParams); save( StereoCalFileName, Varstosave) I get: Error using save Must be a string scalar or character vector.

Antworten (1)

Adam
Adam am 15 Jun. 2018
doc save
As the help and error says, you need to pass a string with the variable name in:
save( StereoCalFileName, 'Varstosave' )

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by