photo

Zaikun Zhang


Sun Yat-sen University

Last seen: circa un mese fa Attivo dal 2019

Followers: 0   Following: 0

Messaggio

Statistica

All
MATLAB Answers

12 Domande
7 Risposte

File Exchange

4 File

RANK
6.337
of 300.331

REPUTAZIONE
8

CONTRIBUTI
12 Domande
7 Risposte

ACCETTAZIONE DELLE RISPOSTE
41.67%

VOTI RICEVUTI
6

RANK
6.031 of 20.920

REPUTAZIONE
197

VALUTAZIONE MEDIA
5.00

CONTRIBUTI
4 File

DOWNLOAD
15

ALL TIME DOWNLOAD
1341

RANK

of 168.124

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • 5-Star Galaxy Level 3
  • Personal Best Downloads Level 2
  • GitHub Submissions Level 3
  • First Answer
  • Thankful Level 1
  • First Submission
  • First Review

Visualizza badge

Feeds

Visto da

Domanda


An issue with parfor in MATLAB R2023a--R2025a
Consider two MATLAB m files named profile.m and try_parfor.m as follows. % profile.m function profile() olddir = pwd(...

circa un mese fa | 0 risposte | 2

0

risposte

Risposto
Bug: MATLAB 2025a segfaults on Ubuntu when handling Fortran MEX files with internal subroutines
---------- Forwarded message --------- From: <support@mathworks.com> Date: Mon, Jul 14, 2025 at 7:14 PM Subject: Re: Bug in M...

3 mesi fa | 0

| accettato

Domanda


Bug: MATLAB 2025a segfaults on Ubuntu when handling Fortran MEX files with internal subroutines
This is very likely a bug of MATLAB R2025a on Ubuntu. I would like to know whether anyone else can reproduce it (on Ubuntu). Tha...

4 mesi fa | 1 risposta | 0

1

risposta

Inviato


PDFO: Powell's Derivative-Free Optimization solvers
Interfaces by Tom M. Ragonneau and Zaikun Zhang for using the late Professor M. J. D. Powell's derivative-free optimization solv...

oltre un anno fa | 3 download |

0.0 / 5
Thumbnail

Inviato


PRIMA: Optimization without Using Derivatives
PRIMA is a package for solving general nonlinear optimization problems without using derivatives.

oltre un anno fa | 3 download |

5.0 / 5
Thumbnail

Domanda


Does MEX of MATLAB R2023b (update 6) on macOS-13 work with Xcode 15 and Intel oneAPI 2023?
[Update 20240217: I am almost sure that this is a bug of MATLAB R2023b. The default MEX options are wrongly specified. They are ...

oltre un anno fa | 0 risposte | 1

0

risposte

Risposto
Strange behavior of `copyfile` regarding symlinks on Linux and macOS
Update 20231031: Below is the response from MathWorks support. " Please be assured that this has been confirmed as a bug and i...

quasi 2 anni fa | 0

| accettato

Domanda


Strange behavior of `copyfile` regarding symlinks on Linux and macOS
Consider the following function. %test_copyfile.m function test_copyfile() ...

circa 2 anni fa | 1 risposta | 0

1

risposta

Inviato


MatCUTEst
MatCUTEst is a package for facilitating the usage of CUTEst (https://github.com/ralna/CUTEst) in MATLAB on Linux.

circa 2 anni fa | 3 download |

0.0 / 5

Inviato


setup_mex: Set up MEX on Windows and macOS for Fortran and C
This package provides scripts that facilitate setting up the MATLAB MEX on Windows and macOS for compiling Fortran and C using I...

oltre 2 anni fa | 6 download |

0.0 / 5

Risposto
fmincon optimization not running properly, stops beacuase of StepTolerance
I conducted a quick experiment using the function and data in the question. The solvers are fmincon of MATLAB and PRIMA, which i...

oltre 2 anni fa | 1

Risposto
Bug in MATLAB R2022a: MEX does not support gfortran 8.x as specified in the official documentation
According to MEX team (20220406, copied from a GitHub Issue): This is bug with R2022a and we are fix it as soon as possible. T...

oltre 3 anni fa | 1

| accettato

Domanda


Bug in MATLAB R2022a: MEX does not support gfortran 8.x as specified in the official documentation
Update (20220406): The MathWorks MEX team has confirmed this problem as a bug of MATLAB R2022a. A workaround is provided by the ...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Does the execution of addpath/rmpath/savepath in one workspace affect other workspaces?
Does the execution of addpath/rmpath/savepath in one workspace affect other workspaces? Suppose that I have two instances of MA...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Risposto
Bug: MATLAB crashes when mexifying the official `timestwo.c`
Here is the latest update (20220225) received from the supporting team of MathWorks: ``` Got the confirmation that the crash...

oltre 3 anni fa | 0

| accettato

Risposto
Why trust-region-reflective algorithm in fmincon require a gradient as input?
What you @SM are looking for is called Derivative-Free Optimization methods. They do not require derivatives or analytical formu...

oltre 3 anni fa | 0

Domanda


Is MEX known to be slow on macOS?
Question: Is MEX known to be slow on macOS? Here, "slow" refers to the speed of setting MEX up, of compiling MEX code, and of ...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Bug: MATLAB crashes when mexifying the official `timestwo.c`
Update (20220225): Here is the latest update received from the supporting team of MathWorks. ``` Got the confirmation that th...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Risposto
Need help with mathematical optimization - fmincon
Your problem is a simulation-based optimization problem. You may try PDFO ( https://www.mathworks.com/matlabcentral/fileexchan...

oltre 5 anni fa | 0

Domanda


Supress MEX warning: f951: Warning: Nonexistent include directory ‘MATLABROOT/simulink/include’ [-Wmissing-include-dirs]
I have MATLAB 2019b but not simulink installed on my computer (ubuntu 16.04). When trying mex(fullfile(matlabroot, 'extern', 'e...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


Recursive definition of anonymous function
(Note that the mathematics in this question is hypothetical and illustrative.) Suppose that I am writing a function "foo" to mi...

oltre 5 anni fa | 1 risposta | 1

1

risposta

Domanda


The return type of mxIsDouble, mxIsSingle, and mxIsClass (mex for Fortran)
According to https://www.mathworks.com/help/matlab/apiref/mxisclass.html the return of mxIsDouble for Fortran (also mxIsSingle ...

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Portable declaration of REAL variables in mex gateway for Fortran
(The same question is asked here: https://stackoverflow.com/questions/57244555/portable-declaration-of-real-variables-in-mex-gat...

circa 6 anni fa | 1 risposta | 0

1

risposta