New answers tagged mathlink-or-wstp
0
Recently, I revisited this thread for dealing with NumericArrays produced via numpy where numpy.nan will be embedded as NAN`,
which can be simply generated using the following code:
cNaN = ExternalEvaluate["Python",
"import numpy as np; np.array([np.nan])"] // Normal // First
And I found a caveat in Barry's approach that a number ...
3
I have found through a lot of iterations that the easiest and most reliable way of doing this is to pass the images using Base64 strings.
I have included example functions for sending and retrieving images using Mathematica .NETLink. The .NETLink built in function for retrieving images (EvaluateToImage) seems to re-encode the image.
Once the image is back in ...
3
Do not link against wstp64i4s.lib. wstp64i4.lib is the only version you should use.
Top 50 recent answers are included
Related Tags
mathlink-or-wstp × 245interoperability × 26
c++ × 22
librarylink × 20
java × 15
.netlink × 15
programming × 14
kernel × 11
remote-access × 11
parallelization × 10
front-end × 9
windows × 8
external-calls × 7
functions × 6
performance-tuning × 5
bugs × 5
mac-os-x × 5
python × 5
linux × 5
notebooks × 4
packages × 4
kernel-startup × 4
graphics × 3
mathematical-optimization × 3
export × 3