Rank: 378 based on 172 downloads (last 30 days) and 15 files submitted
photo

Peter Webb

E-mail
Company/University
The MathWorks
Lat/Long
42.30010223388672, -71.35041809082031

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Peter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Nov 2011 Liberating Deployed Application Output from the Console Window Source code for "Art of MATLAB" blog posts describing how to manage output in deployed applications. Author: Peter Webb log file, deployment, mcc, deploy, matlab compiler, library 7 0
03 May 2011 Creating Builder NE Web Services for Firefox, IE, Chrome and Safari Code for "Art of MATLAB" post -- how to create WCF services that communicate using JSON. Author: Peter Webb json, wcf, windows communication..., builder ne, deploy, deployment 5 1
  • 5.0
5.0 | 1 rating
03 May 2011 Windows Communication Foundation and Builder NE Type Safe APIs Code for the "Art of MATLAB" post - how to build web services with Builder NE. Author: Peter Webb wcf, windows communication..., type safe, type safe api, web, web service 11 0
03 May 2011 Using MATLAB Structures in C# with Builder NE Code for the "Art of MATLAB" post - shows how to pass structures between MATLAB and C#. Author: Peter Webb type safe, builder ne, type safe api, mcc, c, deploy 14 0
03 May 2011 Multiple Inputs and Outputs in Builder NE Type Safe APIs Example code for the "Art of MATLAB" blog post of the same name. Author: Peter Webb builder ne, c, deploy, deployment, type safe, type safe api 5 0
Comments and Ratings by Peter
Updated File Comments Rating
19 Aug 2011 Managing Deployed Application Output with Message Handlers Example code for "Managing Deployed Application Output with Message Handlers". Author: Peter Webb

Russ,

The MATLAB Compiler generates libmsgfcn.h and libmsgfcn.lib. And yes, this will be a topic for a future blog post (to be published in Sept. or Oct. 2011, most likely).

Comments and Ratings on Peter's Files View all
Updated File Comment by Comments Rating
31 Oct 2011 Creating Builder NE Web Services for Firefox, IE, Chrome and Safari Code for "Art of MATLAB" post -- how to create WCF services that communicate using JSON. Author: Peter Webb Edelhofer, Titus

Nice! A simple and nice way to have a service running on a server that is web accessible and requires no installation at all on the Client side.

19 Aug 2011 Managing Deployed Application Output with Message Handlers Example code for "Managing Deployed Application Output with Message Handlers". Author: Peter Webb Webb, Peter

Russ,

The MATLAB Compiler generates libmsgfcn.h and libmsgfcn.lib. And yes, this will be a topic for a future blog post (to be published in Sept. or Oct. 2011, most likely).

18 Jul 2011 Yprime.zip Visual Studio .NET project for building MEX files. Author: Peter Webb hr, w
09 Jun 2011 Managing Deployed Application Output with Message Handlers Example code for "Managing Deployed Application Output with Message Handlers". Author: Peter Webb Russ

Hi Peter,

This looks like a very interesting way to redirect the output streams in deployed applications, however, the ZIP file available for download does not appear to include the libmsgfcn.lib and libmsgfcn.h files. Could you advise me where to locate these files please.

Your example here seems to relate to output redirection when calling the shared libary from a standalone C application - is it possible to achieve a similar effect when calling the shared library from a .NET applicatation? I am are running in to problems when the compiled Matlab code tries to output text to the console (i.e. standard output stream) which causes the .NET application to throw an exception.

The only advise I have been able to find online for redirecting streams is to use evalc() in the compiled code, however, this is not very elegant.

Do you have any plans to elaborate on this important subject in one of your excellent blog posts?

Regards,

Russ

05 Oct 2009 Handling MATLAB Events in Excel Source code for Sept. 2006 News and Notes Programming Patterns article. Author: Peter Webb Max, Baiju

Hi,

I have written a long running algorithm (takes 15 to 30 Mins to complete) in MatLab and converted it to a dotnet 2.0 assembly using 'deploytool'.I am using VC# to call the Matlab function and everything works just great.

However the only problem is that i cant see the progress of the program .The user clicks OK button and then he has to wait for 15-30 minutes for the results.

One solution I see to solve this problem to raise events (to report progress) from matlab and subscribe the same in VC# and inform the user about the progress.

Is there any way of doing the same?

Top Tags Applied by Peter
deploy, deployment, c, mcc, builder ne
Files Tagged by Peter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Nov 2011 Liberating Deployed Application Output from the Console Window Source code for "Art of MATLAB" blog posts describing how to manage output in deployed applications. Author: Peter Webb log file, deployment, mcc, deploy, matlab compiler, library 7 0
03 May 2011 Creating Builder NE Web Services for Firefox, IE, Chrome and Safari Code for "Art of MATLAB" post -- how to create WCF services that communicate using JSON. Author: Peter Webb json, wcf, windows communication..., builder ne, deploy, deployment 5 1
  • 5.0
5.0 | 1 rating
03 May 2011 Windows Communication Foundation and Builder NE Type Safe APIs Code for the "Art of MATLAB" post - how to build web services with Builder NE. Author: Peter Webb wcf, windows communication..., type safe, type safe api, web, web service 11 0
03 May 2011 Using MATLAB Structures in C# with Builder NE Code for the "Art of MATLAB" post - shows how to pass structures between MATLAB and C#. Author: Peter Webb type safe, builder ne, type safe api, mcc, c, deploy 14 0
03 May 2011 Multiple Inputs and Outputs in Builder NE Type Safe APIs Example code for the "Art of MATLAB" blog post of the same name. Author: Peter Webb builder ne, c, deploy, deployment, type safe, type safe api 5 0

Contact us at files@mathworks.com