Error building dsPIC30F3012 with Fuzzy

Create new topics, add your comment, remark, bugs...
Alan
Posts: 3
Joined: Tue Apr 28, 2009 1:47 am

Error building dsPIC30F3012 with Fuzzy

Postby Alan » Wed Sep 30, 2009 12:48 am

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
Attachments
errorbuild_fuzzy_dspic.JPG
Error picture
lente_act3.fis.mdl
FIS file (Delete the extension mdl)
(924 Bytes) Downloaded 133 times
fuzzy_stepmotor_casa.mdl
Model
(45.81 KiB) Downloaded 177 times

Alan
Posts: 3
Joined: Tue Apr 28, 2009 1:47 am

Re: Error building dsPIC30F3012 with Fuzzy

Postby Alan » Sun Oct 11, 2009 9:26 pm

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Marseille - France
Contact:

Re: Error building dsPIC30F3012 with Fuzzy

Postby LubinKerhuel » Sat Oct 17, 2009 3:40 pm

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


Return to “General Remark and Questions”

Who is online

Users browsing this forum: No registered users and 2 guests