Warning: Variable 'bending_model' originally saved as a cfit cannot be instantiated as an object and will be read in as a uint32.

7 views (last 30 days)
I have a code that has several .mat files that were saved as cfit. When I run them on one computer, the code works fine. However, when I run them on a different computer, I get the error "Warning: Variable 'bending_model' originally saved as a cfit cannot be instantiated as an object and will be read in as a uint32."
Both computers run Matlab2019a; additionally, the code and .mat files are both in a google drive folder that both computers are accessing to run the code.
Assistance would be greatly appreciated.

Accepted Answer

Steven Lord
Steven Lord on 16 Oct 2019
The installation on the machine where you receive that warning message does not have Curve Fitting Toolbox installed (or perhaps has it installed but is unable to check out a license.) Because of that, MATLAB cannot call the cfit function to turn the raw data it read from the MAT-file into a cfit object.
The installation on the other machine does have it installed and is able to check out a license.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!