Building a .NET Component project with MATLAB 7.3 in windows 7

2 views (last 30 days)
I want to build a .NET Component project with MATLAB 7.3 in Windows 7. The problem is that when I build the project I get the following error:
Your project cannot be built because you have not specified a compiler. To do so run the following command in MATLAB: mbuild -setup
when i write the mbuild -setup command, it displays the choices to select from the installed compilers. when I am done after specifying the choice it displays the following error:
Error: DllRegisterServer in C:\PROGRA~2\MATLAB\R2006b\bin\win32\mwcomutil.dll failed Undefined subroutine &mexsetup::expire called at C:\PROGRA~2\MATLAB\R2006b\bin\/mexsetup.pm line 819. ??? Error using ==> mbuild Unable to complete successfully
Can any one resolve this error? Thanks.

Answers (1)

Walter Roberson
Walter Roberson on 22 Jun 2011
Possibly the following solution may help: here
But more relevant is probably this other one
  5 Comments
Bushra
Bushra on 3 Jul 2011
I have followed these instructions as well but still my problem is not solved.
when i add the class and .m file i that class, the build command is deactivated.
can you people figure out the problem? or suggest any othr solution? thanks in advance
Kaustubha Govind
Kaustubha Govind on 5 Jul 2011
Bushra: It's not clear what is going wrong here. I would recommend contacting Tech Support so they can walk you through the process.

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!