photo

Jianfei


Last seen: 1 month ago Active since 2020

Followers: 0   Following: 0

Message

Programming Languages:
Python, Java, MATLAB
Spoken Languages:
English, Chinese
Professional Interests:
Java with MATLAB, Simulink, MATLAB Test

Statistics

MATLAB Answers

9 Questions
5 Answers

RANK
33,084
of 300,331

REPUTATION
1

CONTRIBUTIONS
9 Questions
5 Answers

ANSWER ACCEPTANCE
22.22%

VOTES RECEIVED
1

RANK
 of 20,920

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,124

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Question


Default button of "questdlg" not working in 2025a
answer = questdlg(quest,dlgtitle,btn1,btn2,btn3,defbtn) When the dialogue box is opened, the default button is selected, but pr...

2 months ago | 0 answers | 0

0

answers

Answered
Errors in listener callbacks
You can use keyboard in testing and debugging phase. Just a workaround. It's annoying I need to remove them when releasing. try...

2 months ago | 0

Question


Can I use home license to develop and publish MATLAB applications, and only buy standard or startup license before releasing paid versions?
Here's my plan: Use home license to develop and publish a free MATLAB application. If I can accumulate enough users, register ...

5 months ago | 1 answer | 0

1

answer

Question


Why MATLAB creates garbage files in current folder after running MATLAB Test
And there's a folder named "dig" I'm not sure which version of MATLAB created those files because I run MATLAB Tests by mor...

8 months ago | 0 answers | 0

0

answers

Answered
fail to delete files using the delete command in R2018a
Deleting a file may fail even if that file has not being used. I tried to use Java io functions to delete files, but it still ca...

8 months ago | 0

Question


How can I exit Simuink completely?
I have a function containing isSimulinkStarted. I want my testcase to test both conditions, but once Simulink has started, it wi...

8 months ago | 1 answer | 1

1

answer

Question


How to get consistant results when testing code performance
I have functions to make searches in Simulink models. I want to test which algorithm has better performance. I use the "Run and ...

8 months ago | 2 answers | 0

2

answers

Answered
Running/testing scripts on multiple Matlab/Simulink versions?
I searched for this question years ago, and recently, I found my own solution, which I’m quite satisfied with. Here’s what I did...

9 months ago | 0

Answered
Insert a link to subsytem block in annotation
You can simply use an empty subsystem and create a mask to display your annotations. Then, set up an OpenFcn callback. Using hil...

9 months ago | 0

Answered
How can I test a function that contains a "waitFor" function or popup dialogs without requiring external user input?
I found a perfect solution to this issue. I've made this answer the accepted one as it can be implemented across all MATLAB vers...

9 months ago | 0

| accepted

Question


How can I test a function that contains a "waitFor" function or popup dialogs without requiring external user input?
I am testing a GUI function in my code. Within my test class, I use Java functions to simulate mouse clicks, which trigger a pop...

11 months ago | 3 answers | 0

3

answers

Question


Is it possible to ignore certain lines in MATLAB coverage test?
If matlab version > a version do something else do something else end I hope certain lines can be ignored based o...

1 year ago | 1 answer | 0

1

answer

Question


How can I combine binary data in memory, and use fwrite for only one time to write all the data?
I need to write some large data in multiple loops. Each time, the data being written by fwrite is very small, and the frequent u...

4 years ago | 1 answer | 0

1

answer

Question


What is "Input" in "model" command?
In the model command, in you want to get the output of a model, the code is: outputs = model(t,x,u,'outputs'); In which "u" me...

5 years ago | 1 answer | 0

1

answer