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.

Réponses (1)

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

Produits

Version

R2018a

Réponse apportée :

le 15 Juin 2018

Community Treasure Hunt

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

Start Hunting!

Translated by