kei hin
Followers: 0 Following: 0
Answers that are not accepted within a week will be deleted.
MATLAB
Spoken Languages:
Chinese
Pronouns:
He/him
Feeds
在matlab调用什么函数可以让Simulink模型中的Line自动调整?
Route existing lines of model - MATLAB Simulink.BlockDiagram.routeLine - MathWorks 中国 获取标识模块或信号线的路径 - MATLAB getfullname - Ma...
7 months 前 | 0
| 已接受
提问
Press html hyperlink to open block in model
Can I use html hyperlink to open a block in model in matlab?
8 months 前 | 1 个回答 | 0
1
个回答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...
9 months 前 | 1
| 已接受
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...
10 months 前 | 1
| 已接受
提问
Rotate screen orientation by m-file.
How to rotate the orientation of the second screen from landscape to portrait on a dual-monitor system
11 months 前 | 1 个回答 | 0
1
个回答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...
11 months 前 | 0
| 已接受
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
11 months 前 | 0
| 已接受
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)
1 year 前 | 0
| 已接受
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.
1 year 前 | 0
| 已接受
How to supress the output of the taskkill command?
Try [status,result] = system();
1 year 前 | 0
| 已接受
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 ...
1 year 前 | 0
| 已接受
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); ...
1 year 前 | 0
| 已接受
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...
1 year 前 | 1
| 已接受
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...
1 year 前 | 0
| 已接受
Get simulink's print dialog using MATLAB script
打印模型图 - MATLAB & Simulink - MathWorks 中国 从 MATLAB 命令行窗口以编程方式打印模型 - MATLAB & Simulink - MathWorks 中国
1 year 前 | 0
| 已接受
MATLAB failing to read/edit Excel file on first-time code run
try full path, like hWorkbook = hExcel.Workbooks.Open([pwd,'\',outputfile])
1 year 前 | 2
| 已接受
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...
1 year 前 | 0
| 已接受
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',' ...
1 year 前 | 0
| 已接受
提问
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...
2 years 前 | 1 个回答 | 0
1
个回答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.
3 years 前 | 0
| 已接受
提问
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...
3 years 前 | 2 个回答 | 0
2
个回答focus a block in model by m file
set(block_handle,'selected', 'on'); or set(get_param(block_path,'handle'), 'selected', 'on');
3 years 前 | 0
| 已接受
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0
1
个回答提问
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...
5 years 前 | 1 个回答 | 0