Rui Zhang
Followers: 0 Following: 0
Statistica
RANK
143.539
of 295.495
REPUTAZIONE
0
CONTRIBUTI
16 Domande
1 Risposta
ACCETTAZIONE DELLE RISPOSTE
56.25%
VOTI RICEVUTI
0
RANK
of 153.991
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
Feeds
Domanda
How to send a variable to the worker workspace?
An example code is show below: classdef myclass properties end methods function obj = ...
3 mesi fa | 1 risposta | 0
1
rispostaDomanda
how to find out the index of a cell array that cell contains my substring?
My question is: myCellArray = {'John','Mike','foo'}; substring = 'Jo' Since myCellArray{1} contains "Jo', I expected the ind...
9 mesi fa | 2 risposte | 0
2
risposteDomanda
How to convert matlab class with subclass to a struct with substruct?
If class name is classname1 and it has multiple subclasses: classname1.subname1.subname2.variable1; name1.subname3.variable2; ...
circa un anno fa | 1 risposta | 0
1
rispostaDomanda
Scalar variable as output of Matlab function in Simulink
I careted a Simulink model in MATLAB 2017 for debug. The model includes only a MATLAB function. It is shown in the image below; ...
quasi 2 anni fa | 1 risposta | 0
1
rispostaWorkspace definition of "a variable" doesn't match this m-scripts definition
Hello Yuvraj, Thank you for your reply. I found my code to clear variables in the base workspace. "EngineeringModel" is n...
quasi 2 anni fa | 0
Domanda
Workspace definition of "a variable" doesn't match this m-scripts definition
I got an error message: Error executing "PreSimFcn" on Simulation input object. Workspace definition of "EngineeringModel" doesn...
quasi 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Not able to assign a value to a member of class in MATLAB
Below is the class definition and I want to change obj.inputs by using setInputs method: classdef LinearLayer %UNTITLED2...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
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: >> ...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 3 anni fa | 1 risposta | 0
1
rispostaDomanda
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. ...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
circa 5 anni fa | 0 risposte | 0
0
risposteDomanda
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...
circa 5 anni fa | 0 risposte | 0
0
risposteDomanda
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...
circa 5 anni fa | 0 risposte | 0
0
risposteDomanda
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...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 5 anni fa | 2 risposte | 0