cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Generate a function in c language for mathcad

DM_10631844
11-Garnet

Generate a function in c language for mathcad

DM_10631844_0-1731210811984.png

DM_10631844_2-1731211818072.png

DM_10631844_3-1731211865812.png

 

 

Greetings I have created a function to calculate some parameters.

DM_10631844_1-1731211706236.png

DM_10631844_4-1731212077644.pngDM_10631844_5-1731212100870.png

 

DM_10631844_7-1731212196502.pngDM_10631844_8-1731212234449.png

 

DM_10631844_0-1731212671023.png

 

 

 

I want also to enter the variable of Lvi and Lvd that are scalars but I have not been successful I want to add to the code f.c the part where you enter the overhangs, I added the matlab script and the language c in mathcad I can do it only until without overhangs if someone can give me some clue how to add that part of the algorithm that I have shown in the matlab script would be of great help, the result should be coordinates in x in the first column and y in the 2nd column.

cd "C:\Program Files\PTC\Mathcad Prime 7.0.0.0\Custom Functions" && cl /I. f.c /LD /link /out:f.dll /entry:DllMain mcaduser.lib && cd "C:\Program Files\PTC\Mathcad Prime 7.0.0.0" && MathcadPrime.exe

 

2 REPLIES 2

Hi,

Why not program from Matlab to PTC Mathcad Prime directly.

Capture3.JPG

Capture.JPG

Capture2.JPG

  • Es que ya lo hice de esa manera y quiero hacerlo es con lenguage C y de esa manera es bastante pesado ya tengo algunas funciones así saludos agradecería es la solución con algoritmo en lenguage c compilado a DLl a mathcad saludo I already did it that way and I want to do it with C language and that way it is quite heavy, I already have some functions like that, greetings, I would appreciate it. It is the solution with an algorithm in C language.
Announcements

Top Tags