How do you save parameters for a stereo camera

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

0 Stimmen

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

Gefragt:

am 15 Jun. 2018

Beantwortet:

am 15 Jun. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by