64-Bit Compatibility
Posted: Thu Jan 28, 2010 7:06 pm
Lubin,
As promised here the post of my email from yesterday:
"Dear Lubin,
Thanks again for your recent support on your blockset!
I have a different question concerning 64-bit systems. Do you have any experience if your blockset runs on 64-bit? I'm working on a 64-bit machine now. I have installed MATLAB, the C30 compiler v3.11b and the latest blockset version you sent us (0.99h). When I compile I get an error message from MATLAB saying
"Error using ==> set_param
--> Error in S-function 'dsPIC_33f_..../xyz':
S-Function 'dsPIC_xyz' does not exist."
I get similar errors for every dsPIC block in the Simulink model.
I did some online searching and now believe that it is because the S-Function files were compiled in 32-bit (*.mexw32) but would need to be in 64-bit (*.mexw64). Does that make sense to you? Or do you know of anybody getting it to work on 64-bit? Is there a simple workaround, e.g. convert the *.mexw32 to *.mexw64?
Thanks so much for your help!
Alex"
As promised here the post of my email from yesterday:
"Dear Lubin,
Thanks again for your recent support on your blockset!
I have a different question concerning 64-bit systems. Do you have any experience if your blockset runs on 64-bit? I'm working on a 64-bit machine now. I have installed MATLAB, the C30 compiler v3.11b and the latest blockset version you sent us (0.99h). When I compile I get an error message from MATLAB saying
"Error using ==> set_param
--> Error in S-function 'dsPIC_33f_..../xyz':
S-Function 'dsPIC_xyz' does not exist."
I get similar errors for every dsPIC block in the Simulink model.
I did some online searching and now believe that it is because the S-Function files were compiled in 32-bit (*.mexw32) but would need to be in 64-bit (*.mexw64). Does that make sense to you? Or do you know of anybody getting it to work on 64-bit? Is there a simple workaround, e.g. convert the *.mexw32 to *.mexw64?
Thanks so much for your help!
Alex"