error when open .fig file

3 次查看(过去 30 天)
Truong Lan
Truong Lan 2013-1-11
Hi everyone, I open a .fig file from the sourcecode of a DSP book, however, I receive many error messages: * Error using prefutils>getFieldRequired (line 70) group FDSP_preferences does not exist
Error in prefutils (line 11) [varargout{1:nargout}] = feval(varargin{:});
Error in getpref (line 81) Group = prefutils('getFieldRequired',Preferences,group,...
Error in f_screen (line 43) swarn = getpref ('FDSP_preferences','screen_warning');
Error in f_guifigure (line 18) [fsize,horz,vert] = f_screen(1);
Error in g_multirate (line 91) [hf_1,han,pos,colors,fsize] = f_guifigure (g_module); *
How can I deal with this problem? Thanks a lot.
  1 个评论
Walter Roberson
Walter Roberson 2013-1-13
You might have to run the .m file instead of opening the .fig file. The .m file might be creating items that the .fig needs.

请先登录,再进行评论。

回答(1 个)

Daniel Shub
Daniel Shub 2013-1-13
We don't really have enough information about how to deal with this. What instructions came with the book? Do you have the correct MATLAB version and all the necessary toolboxes? Has everything been correctly added to your path? Are you supposed to be able to open the figure directly or is there an m-file you can run? Are you sure the figure file is correct and should be able to be run?

类别

Help CenterFile Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by