Question


how to automatically creat sldd file based on csv file
i add following info to CSV file, how to use this CSV file to creat sldd file automatically.

10 months ago | 0 answers | 0

0

answers

Question


search specific file under current direction
hello, i want search all the file with a .m extension under one routine, cd to the serach top level, as following, folders cont...

1 year ago | 1 answer | 0

1

answer

Question


how to get name of all element within an bus
i want to got all the element name of a bus, and output these name to excel or txt, how to do?

1 year ago | 1 answer | 0

1

answer

Question


search sepecific file and copy to target file
i want search the file (which are source file .c and head file .h) under file test20231104,and copy them to new file, how to rea...

1 year ago | 1 answer | 0

1

answer

Question


how to use evalin?
hello, i have a cell s, and s{1} = 'EngDa_jEng_C',now i want implement the commands(EngDa_jEng_C = Simulink.Parameter),i want ...

1 year ago | 0 answers | 0

0

answers

Question


automaticaly define calibration parameter to the workspace through read the m file
i have a m file, it defineed many calibration parameters one by one, each line seems like following: objDef_CAL('EngDa_jEng_C',...

1 year ago | 1 answer | 0

1

answer

Question


how to check if an specific name is existed inside a simulink
i want to check if an specific name(parameter,signallines,..) is existed inside a simulink model, if use can find_system work in...

1 year ago | 1 answer | 0

1

answer

Question


search program command in command window use Tab Button
hello, i have a question, i know we can use tab button to conveniently find some command, for example, i write 'add' in command ...

1 year ago | 1 answer | 0

1

answer

Question


how to rename the calibration parameter in a simulink model
now i want find all the calibration parameter which contains(for example 'xxx'), and rename this calibration parameter by replac...

1 year ago | 1 answer | 0

1

answer

Answered
add state flow to simulink model
use this command works: add_block('sflib/Chart',... [ModelName '/' FunctionName '/' 'ScheduleChart'],'Position',BlockPosit...

1 year ago | 0

| accepted

Question


add state flow to simulink model
when i use following command, try to add chart to simulnik model, error happens, how to resolve this add_block('Stateflow/C...

1 year ago | 1 answer | 0

1

answer

Question


how to close error dialog
after run some script, i got so many error dialog, how to quickly close them at one time.

1 year ago | 2 answers | 0

2

answers

Question


how to programtically add junctions and default transition in state flow and connect them
hello, as following shows i want use script to add the defualt transition and two junction, and connect two junctions, add the a...

1 year ago | 1 answer | 0

1

answer

Question


How to Add several stateflow chart to a exist simulink model programtically
hello, now i have a simulink model,now i want use script to add several stateflow char inside this simulink block, which command...

1 year ago | 1 answer | 0

1

answer

Question


creat stateflow use script
hello,when i run the following script,error happens, any one knows what the root reason, following are the script. sfnew rt =...

1 year ago | 0 answers | 0

0

answers

Question


how to find unconnect goto block and from block in the simulink model use script
hello, i want use the script to find out all the unconnected(or unmatched) goto/from block in the simulink model,which command c...

1 year ago | 1 answer | 0

1

answer

Question


how to add several inport to the buscreator
as the title indicate, how to connect the follwing blocks

1 year ago | 1 answer | 0

1

answer

Question


change simulink m file name issue
hi, i want use script to change the original name to new name, for example from VehicleSpeedLimiterDemand_cal.m ->vehiclespeedli...

1 year ago | 1 answer | 0

1

answer

Question


simulink subsystem replacement issue
when i run the following script, nothing happened with out any error, any one can help, thanks in advance. open_system('untitl...

1 year ago | 1 answer | 0

1

answer

Question


simulation issue about Scope
hello, guys,when i run the simulation, i found the scope not display the line with the time change, it keep stop at the begining...

1 year ago | 2 answers | 0

2

answers

Question


how to automatically configure the sim parameter
when i run the following command in command window, matlab version 2019a sim('untitled','StartTime','0.0','StopTime','20.0','S...

1 year ago | 1 answer | 0

1

answer

Question


when i want to modify the input number of certain component through script,error happens
if i replace num with real num, like 17, it works, any one who knows why?

1 year ago | 1 answer | 0

1

answer

Question


how to add parameter to workspace when load the simulink model
how to add parameter to workspace when load the simulink model

3 years ago | 1 answer | 0

1

answer