MATLAB Answers

0

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

Asked by Benjamin Adamcik on 16 Oct 2019 at 14:58
Latest activity Answered by Steven Lord
on 16 Oct 2019 at 17:55
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.

  0 Comments

Sign in to comment.

Tags

Products


Release

R2019a

1 Answer

Answer by Steven Lord
on 16 Oct 2019 at 17:55
 Accepted Answer

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.

  0 Comments

Sign in to comment.