I know that you can do what you want if you store your data using the WRITEPRN function instead of using the Excel output object.
You can use the strcat() function along with the num2str() function to stitch together a filename. For example, assuming that the variable v is changing every run...
Hey Generalcarnage,
As a first step in looking up anything mathematics-related, I'd try googling for the term followed by "wolfram" so that you hit the Wolfram Mathworld site. I googled for "exponential function wolfram" and came up with:
http://mathworld.wolfram.com/ExponentialFunction.html...
I found the files I was looking for. :) I ran across them a year ago and had to find the URL again.
Browse over to http://gundermann.dk/mathcad/poisson_engine.htm to see a really good example of passing and returning complex data between Mathcad and a user DLL.
All of the Mathcad "pack" and...
I ran across a Mathcad DLL awhile back (>2 years ago) that used an efficient way of passing data between the Mathcad worksheet and the user DLL. Basically, functions were written in the worsksheet that would "pack" the data into a single array, then shove it over to the DLL, and the DLL would...
In my experience I have never had to use REGTOOL with the DLLs I have written. I have used both Microsoft Visual Studio 6.0 and the freeware Dev-Cpp to produce code.
I agree with CAOranger about the interface being too narrow. Being able to pass string data (as opposed to arrays of...
Hmmm, it works great for me. What version of Excel are you using?
That code that I posted is to be copy/pasted in instead of the previous code you were using. Just wanted to clarify that . I'll take a look at it again.
Matt
I've done this in VB before. You get _really_ good at text-proessing :)
Here is where I found out the DXF syntax.
http://usa.autodesk.com/adsk/servlet/item?id=752569&siteID=123112
I made functions for simple tasks, such as WriteCircle(Dim radius as Double, Dim x as Double, Dim y as Double...
Hi Ramesh,
Yep, you're right, that overwrite confirmation dialog box does get a bit obnoxious after awhile. If you are sure that you'd like to overwrite the file each time, you can use this code instead:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Dim...
Ah, that is not a problem :) Here's the beauty of the OLE-embedded Excel object.
Double click on the Excel object. Notice that the menus at the top are suddenly those of Excel and not Mathcad.
Go to Tools>Macro>Visual Basic Editor.
In the project explorer view in the upper left, expand the...
Hi Ramesh,
I think your best bet is to use an Excel Component.
Insert>Component...
Select "Microsoft Excel". Then tell it to make an empty Excel worksheet.
If you have 3 columns vectors (they can be unequal in length), then make 3 inputs and 0 output. Start the first input at A1, the...
A much easier way would be to use the augment() function.
Say you had column vectors w, x, y, and z, then you can place them side-by-side into an array with the command:
A:augment(w,x,y,z)
(the : symbol places the = assignment operator there)
Then just writeprn(filename):A as before.
You...
Hi stephens248,
I'm afraid that I don't think it's possible. While Mathcad does allow you to alter the display of the derivative from normal-looking d's to lazy-d's (regular derivative vs. partial derivative) it won't let you assign a dot to the derivative.
Think about it -- the current...
A VC application, I assume, is a Visual C (or Visual C++) application.
Do you mean that you are making an external DLL? If this is the case I might be able to help, if you would provide a more detailed question. How are you currently doing your computations?
-Matt