photo

kei hin


Last seen: 6 Tage vor Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Answers that are not accepted within a week will be deleted.

Programming Languages:
MATLAB
Spoken Languages:
Chinese
Pronouns:
He/him

Statistik

  • 6 Month Streak
  • Knowledgeable Level 4
  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
在matlab调用什么函数可以让Simulink模型中的Line自动调整?
Route existing lines of model - MATLAB Simulink.BlockDiagram.routeLine - MathWorks 中国 获取标识模块或信号线的路径 - MATLAB getfullname - Ma...

5 Monate vor | 0

| akzeptiert

Frage


Press html hyperlink to open block in model
Can I use html hyperlink to open a block in model in matlab?

5 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
Assign a customized image to an icon on the Quick Access Toolbar
Right click on your Quick Access Toolbar button, then edit the icon you want in command edit window. In R2019b, command below w...

6 Monate vor | 1

| akzeptiert

Beantwortet
How can we create saturation behavior with using switch?
You want this?

7 Monate vor | 0

| akzeptiert

Beantwortet
How to Get Data from Simulink and to store in Workspace?
Save Simulation Data - MATLAB & Simulink (mathworks.com) Hierarchy tree for simulation data - MATLAB (mathworks.com) Log and P...

7 Monate vor | 1

| akzeptiert

Beantwortet
如何得到一个由数字构成的向量中有几组数字?
num = length(unique(T));

7 Monate vor | 0

| akzeptiert

Frage


Rotate screen orientation by m-file.
How to rotate the orientation of the second screen from landscape to portrait on a dual-monitor system

8 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
how to get name of all element within an bus
Try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data you want, then rea...

9 Monate vor | 0

| akzeptiert

Beantwortet
How does an M file identify whether a simulink file is a library file? M文件是如何识别simulink文件是否为库文件?
在不加载文件的情况下提取 SLX、SLXP 或 MDL 文件信息 - MATLAB - MathWorks 中国 info = Simulink.MDLInfo('file.slx') lib_flg = info.IsLibrary

9 Monate vor | 0

| akzeptiert

Beantwortet
search program command in command window use Tab Button
Try to click [fx].

10 Monate vor | 0

| akzeptiert

Beantwortet
Could someone please tell me which components are missing for this circuit to automatically and appropriately select inputs when dealing with multiple inputs?
You want this? Select output signal based on control signal - Simulink (mathworks.com)

10 Monate vor | 0

| akzeptiert

Beantwortet
Ordering the name of excel files from short to longer length
Check the length inside the for loop and store the sorted result in variables, then use the writetable outside the for loop.

11 Monate vor | 0

| akzeptiert

Beantwortet
How to supress the output of the taskkill command?
Try [status,result] = system();

11 Monate vor | 0

| akzeptiert

Beantwortet
how to rename the calibration parameter in a simulink model
use find_system() to get all constant block's handle, then use get_param(blockhandle,'value') to get the value in constant, and ...

11 Monate vor | 0

| akzeptiert

Beantwortet
Use user input in a function
k=3 f1=func(k) function f1=func(x); n=input('n') f1=n*x; end or n=input('n') k=3 f1=func(n,k) function f1=func(n,x); ...

11 Monate vor | 0

| akzeptiert

Beantwortet
Import desktop layouts into a newer release of Matlab
I think you can back up a layout on the new version of MATLAB, then check your prefdir to see which file has been added, and the...

11 Monate vor | 1

| akzeptiert

Beantwortet
Use getparam to get value from bus signal
I guess you can try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data yo...

11 Monate vor | 0

| akzeptiert

Beantwortet
Get simulink's print dialog using MATLAB script
打印模型图 - MATLAB & Simulink - MathWorks 中国 从 MATLAB 命令行窗口以编程方式打印模型 - MATLAB & Simulink - MathWorks 中国

11 Monate vor | 0

| akzeptiert

Beantwortet
MATLAB failing to read/edit Excel file on first-time code run
try full path, like hWorkbook = hExcel.Workbooks.Open([pwd,'\',outputfile])

12 Monate vor | 2

| akzeptiert

Beantwortet
How to create variables from variable names stored in a array?
attributes={'time', 'step', 'cuurent', 'voltage', 'chgAh', 'disAh'}; prompt = 'input what you want: '; input_str = input(pro...

etwa ein Jahr vor | 0

| akzeptiert

Beantwortet
textscan does not scan the text as accurate as strread, i have "errors"
textscan(strrep(a,' ',''),'%s%f%f%f%f%f%s','Delimiter',' '); or textscan(strrep(a,' ',' '),'%s%f%f%f%f%f%s','Delimiter',' ...

etwa ein Jahr vor | 0

| akzeptiert

Frage


How to set characters font in excel by m-file?
Hi all In VBA, for one cell, I can use 'ActiveCell.Characters(Start:=2, Length:=2).Font.Color = -16776961' to set 2nd and 3rd C...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Import data from CSV file by Import Tool or textscan
In the script which Import Tool created, change delimiter = ','; to delimiter = {',','\r'}; It seems to have been solved.

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


Import data from CSV file by Import Tool or textscan
I can import data from csv file by Import Tool(out type:string), and the tool could creat a script(textscan in it) to instead Im...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
focus a block in model by m file
set(block_handle,'selected', 'on'); or set(get_param(block_path,'handle'), 'selected', 'on');

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


focus a block in model by m file
when I select a block in model, there is a blue outer frame on the block, but when I use 'hilite_system' in m file to focus a bl...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Extract string with regexp()
I have a variable that stores a string. The string contains letters, numbers, underscores and symbols (there is no specific orde...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Generate PolySpace report with code
When I generate a report with PolySpace 2019a, I got a report without code content but line and column number of code, it is har...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to limit editfield length and auto shift cursor in App Designer
I have two editfields in App Designer, now I want to limit the editield length to 2, I mean when I input 2 characters in editfie...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


get property of selected line and hide name of a line
I have a simulink model, and there are some lines in it, one of lines have name 'AA', and this line name is hide, when I cut the...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden