Community Profile

photo

sjhstone


Last seen: 1 day ago

ShanghaiTech University

6 total contributions since 2019

sjhstone's Badges

  • Thankful Level 1
  • First Answer
  • Revival Level 1

View details...

Contributions in
View by

Question


Code Generation: What's the Best Practice?
Hello, I'm writing a code for comparing multiple numerical optimization algorithms using multiple combination of parameter choi...

14 days ago | 1 answer | 0

1

answer

Answered
How to move function code to a new file
As your function just scales a picture, there is really no need to put it into a live function. There are 2 simpler ways of defi...

14 days ago | 0

Answered
Update a sparse matrix efficiently
You can refer to the following blog post. It seems that you have reached the optimal efficiency. https://blogs.mathworks.com/lo...

25 days ago | 0

Answered
Mex OpenMP C code
Both printf and mexPrintf are not thread-safe and should be avoided in multi-thread OpenMP MEX C codes. You can get more inform...

1 month ago | 0

Question


Can MEX BLAS library be used for native double matrix in C?
I'm writing C MEX file to do vector-matrix multiplication, clear clc mex simpledgemv.c -R2017b -lmwblas mex simpledgemv_n...

12 months ago | 1 answer | 0

1

answer

Answered
Mex-files + Visual studio 2013 + openMP cause Matlab crashes
Under Windows, it is not that difficult to use Intel's OpenMP library with Microsoft Visual C++ Compiler. Try use the following...

1 year ago | 0