save values of variable

1 次查看(过去 30 天)
hi.i run a code and give me a variable. i click it and dont show me any value.but when i type in work space and press enter give me values. why? how save the values?
my variable is fittedmodel1 and attached it.
thank you

采纳的回答

Roger Wohlwend
Roger Wohlwend 2014-6-4
The variable fittedmodel1 is a class. You cannot double-click on class variables and see what is inside. You have to use the workspace for that. To save the values just save the variable. Or extract the values and save them in a different variable.
  4 个评论
Roger Wohlwend
Roger Wohlwend 2014-6-4
Save the variable fittedmodel1, not the single coefficients, because you need the class to interpolate, plot or whatever. You can access the coefficients with fittedmodel1.a1, fittedmodel1.b1, ....
fereshte
fereshte 2014-6-4
how save coefficients?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numeric Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by