error when open .fig file

3 views (last 30 days)
Truong Lan
Truong Lan on 11 Jan 2013
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 Comment
Walter Roberson
Walter Roberson on 13 Jan 2013
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.

Sign in to comment.

Answers (1)

Daniel Shub
Daniel Shub on 13 Jan 2013
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?

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!