How do you save parameters for a stereo camera

6 views (last 30 days)
Ty Olmstead
Ty Olmstead on 15 Jun 2018
Answered: Adam on 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.

Answers (1)

Adam
Adam on 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' )

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!