Bug, or Matlab needs P4 instruction set, or...
Posted: Sun May 27, 2007 4:35 pm
I try to describe my problem:
There is an interesting thing I’ve found I think it is a bug (but I don’t know whether Matlab or the toolbox has it). Firstly I tried the toolbox on my computer, I only do the basic things (ex. the demonstration things on your webpage and some more) and it worked (it is a must to change the character encoding with set_param(…), but it’s OK). Next I tried to design a control loop on a laptop but there were some problems even if I tried to build the demonstration example found on your web page. I can only guess that this is because the laptop has a Celeron 1200 MHz processor (Pentium 3 instruction set) and my PC has P4 instruction set (I’m not sure because I haven’t seen the real operation). When I completed set the parameters of the model (time step, solver) I tried to configure the master block (double click), but I got the following error message:
"Error evaluating ‘OpenFcn’ callback of Master block (mask) ‘Untitled/Master’. Error using ==> <a href=”error:C:\MatdsPIC\blocks\dsPIC_MASTER_callback.p,30,1”> dsPIC_MASTER_callback at 30 </a>
Corrupted package, Remove and Re-install dsPic embedded Target toolbox."
Probably you’ve figured out that the project name was ‘Untitled’, and the installation path was ‘C:\MatdsPIC’.
As far as I know Matlab needs P4 instruction set, but I haven’t met this problem before (and we don’t have P4 laptop).
I don't understand why, but according to the Marhworks webpage Matlab needs P4 or above:
http://www.mathworks.com/support/sysreq ... t_release/
but once I've downloaded a Unix installation guide that had specified p3 and above. Strange...
By the way the laptop has 512 MB memory that meets the requirements, the PC has even more.
I tried to reinstall the toolbox, even I reinstalled Matlab and the toolbox from scratch but the same thing happened. Because the clean installation, The laptop and my PC has the same settings.
There is an interesting thing I’ve found I think it is a bug (but I don’t know whether Matlab or the toolbox has it). Firstly I tried the toolbox on my computer, I only do the basic things (ex. the demonstration things on your webpage and some more) and it worked (it is a must to change the character encoding with set_param(…), but it’s OK). Next I tried to design a control loop on a laptop but there were some problems even if I tried to build the demonstration example found on your web page. I can only guess that this is because the laptop has a Celeron 1200 MHz processor (Pentium 3 instruction set) and my PC has P4 instruction set (I’m not sure because I haven’t seen the real operation). When I completed set the parameters of the model (time step, solver) I tried to configure the master block (double click), but I got the following error message:
"Error evaluating ‘OpenFcn’ callback of Master block (mask) ‘Untitled/Master’. Error using ==> <a href=”error:C:\MatdsPIC\blocks\dsPIC_MASTER_callback.p,30,1”> dsPIC_MASTER_callback at 30 </a>
Corrupted package, Remove and Re-install dsPic embedded Target toolbox."
Probably you’ve figured out that the project name was ‘Untitled’, and the installation path was ‘C:\MatdsPIC’.
As far as I know Matlab needs P4 instruction set, but I haven’t met this problem before (and we don’t have P4 laptop).
I don't understand why, but according to the Marhworks webpage Matlab needs P4 or above:
http://www.mathworks.com/support/sysreq ... t_release/
but once I've downloaded a Unix installation guide that had specified p3 and above. Strange...
By the way the laptop has 512 MB memory that meets the requirements, the PC has even more.
I tried to reinstall the toolbox, even I reinstalled Matlab and the toolbox from scratch but the same thing happened. Because the clean installation, The laptop and my PC has the same settings.