Community Profile

photo

Rui Zhang


Last seen: 2 months ago Active since 2019

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Simulink model can be compiled in normal mode, but can't be compiled in acceleration mode?
I removed all the C-code in S-functions in my Simulink model and I want to run it in acceleration mode. I am able to run it in n...

4 months ago | 1 answer | 0

1

answer

Question


how to find a given parameter in state flow chart
When compiling a stateflow model, the system complains parameters 'myParameterName' and 'myParameterName' are conflicting. Decla...

4 months ago | 1 answer | 0

1

answer

Question


unable to exit matlab program
In the MATLAB command window, I typed "exit", trying to quit the MATLAB program. But I can't. I got an error message like: >> ...

4 months ago | 1 answer | 0

1

answer

Question


Trouble with jsondecode() and jsonencode()
I have a JSON file. I am trying to test the MATLAB functions before using them. So I loaded it str1 = fileread('json_filena...

5 months ago | 1 answer | 0

1

answer

Question


Matlab code and filterDesigner give different plots for the same setting of Chebyshev II bandpass filter?
Hello, The image below shows the settings in the filterDesigner by using Chebyshev type II bandpass filter and the plots. ...

11 months ago | 1 answer | 0

1

answer

Question


How to add a figure into PPT by using MATLAB script?
I have trouble to add figure into a PPT with MATLAB scripts: % -------------------- import mlreportgen.ppt.* slides = Prese...

2 years ago | 0 answers | 0

0

answers

Question


How to write row_headers into Excel Spreadsheet.
If I have a column array row_header = {'me'; 'you'; 'It'}, I want to write the three into 3 column cells (not in a row). How can...

2 years ago | 0 answers | 0

0

answers

Question


my Simulink object problems
I am using MATLAB 2017b and I got Simulink object data type error: Simulink.DataType object 'my_Inputs_Bus' is not in scope f...

2 years ago | 0 answers | 0

0

answers

Question


Unable to read the last line by using regexp
I used the following code to read text line by line. But the result excludes the last line. For example, if my text is: void my...

2 years ago | 1 answer | 0

1

answer

Question


What is the function of a question mark '?' in regular expression
If I have a C code text with two comments like below and I want to use matlab regular expression function to remove all the comm...

2 years ago | 2 answers | 0

2

answers