How do you save parameters for a stereo camera
10 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
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' )
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!