Page 1 of 1

Error building dsPIC30F3012 with Fuzzy

Posted: Wed Sep 30, 2009 12:48 am
by Alan
Hi,

I create a model that use Fuzzy Logic Controller block, and when I try build show this error:
Error building Real-Time Workshop target for block diagram 'fuzzy_stepmotor_casa'. MATLAB error message:
Error using ==> genMakefileAndBuild at 1070
Error(s) encountered while building model "fuzzy_stepmotor_casa".


I attach the model, the FIS file and the error for help in analisys.

I need a help urgently, Thanks.

Alan

Re: Error building dsPIC30F3012 with Fuzzy

Posted: Sun Oct 11, 2009 9:26 pm
by Alan
Hi again,

I found the problem, my model use the 3036 bytes of data memory and the dspic 30f3012 has only 2048 bytes.
Now I wanna know if the EEPROM memory(1024 bytes) can be used like RAM, to data memory, and how I use it?

Thanks
Alan

Re: Error building dsPIC30F3012 with Fuzzy

Posted: Sat Oct 17, 2009 3:40 pm
by LubinKerhuel
Hi Alan,

It is not possible to replace RAM by EEPROM.
however, you may try to activate simulink optimization, try to check the box "inline parameters". This may save a lot of RAM memory.

Lubin