Community Profile



ShanghaiTech University

Last seen: 1일 전 2019 이후 활성


  • Knowledgeable Level 1
  • Revival Level 2
  • Solver
  • Thankful Level 1
  • First Answer


Content Feed

보기 기준

답변 있음
MEX: How to modify xml file for unsupported compiler?
Hello, if you just want to modify how $CROOT variable is captured, please search for <locationFinder> in your XML config file, a...

약 1년 전 | 3

| 수락됨


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

1년 이상 전


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1년 이상 전


Create a vector
Create a vector from 0 to n by intervals of 2.

1년 이상 전


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...

1년 이상 전 | 답변 수: 1 | 0



답변 있음
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...

1년 이상 전 | 0

답변 있음
Update a sparse matrix efficiently
You can refer to the following blog post. It seems that you have reached the optimal efficiency.

1년 이상 전 | 1

답변 있음
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...

2년 이하 전 | 0


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...

2년 이상 전 | 답변 수: 1 | 0



답변 있음
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...

3년 이상 전 | 0