Category: News
how to fuse image
Dear all,
this is my code to view CT image by slice
P = zeros(256, 256, 72);
for K = 1 : 72
petname = sprintf(‘I4%03d.dcm’, K);
P(:,:,K) = dicomread(petname);
end
imshow3D(P)
then, this is my code for view SPECT image by slice,
Noted: all my 512 slice SPECT image stored in one file.
[spect map]=dicomread(‘128×128’);
info = dicominfo(‘128×128’);
gp=info.SliceThickness;
spect=(squeeze(spect));%smooth3
aa=size(spect);aa=aa(3);
imshow3D(spect);
Anybody can help me to fuse both SPECT and CT images?Dear all,
this is my code to view CT image by slice
P = zeros(256, 256, 72);
for K = 1 : 72
petname = sprintf(‘I4%03d.dcm’, K);
P(:,:,K) = dicomread(petname);
end
imshow3D(P)
then, this is my code for view SPECT image by slice,
Noted: all my 512 slice SPECT image stored in one file.
[spect map]=dicomread(‘128×128’);
info = dicominfo(‘128×128’);
gp=info.SliceThickness;
spect=(squeeze(spect));%smooth3
aa=size(spect);aa=aa(3);
imshow3D(spect);
Anybody can help me to fuse both SPECT and CT images? Dear all,
this is my code to view CT image by slice
P = zeros(256, 256, 72);
for K = 1 : 72
petname = sprintf(‘I4%03d.dcm’, K);
P(:,:,K) = dicomread(petname);
end
imshow3D(P)
then, this is my code for view SPECT image by slice,
Noted: all my 512 slice SPECT image stored in one file.
[spect map]=dicomread(‘128×128’);
info = dicominfo(‘128×128’);
gp=info.SliceThickness;
spect=(squeeze(spect));%smooth3
aa=size(spect);aa=aa(3);
imshow3D(spect);
Anybody can help me to fuse both SPECT and CT images? image processing, image analysis, image segmentation MATLAB Answers — New Questions
Is the pny GeForce rtx 3090 supported by the deep learning toolbox?
Is the pny GeForce rtx 3090 supported by the deep learning toolbox?Is the pny GeForce rtx 3090 supported by the deep learning toolbox? Is the pny GeForce rtx 3090 supported by the deep learning toolbox? pny geforce MATLAB Answers — New Questions
make “plot” visualization more visible
I have 5 plots in a figure. One plot has a lot more points (gray color in the figure with about 4000 points) and hence while other a few hundred. I put the color for the larger set curve to gray in order to make the other 4 plots (shown in green, orange, and purple) more visible (following script). I also made the ‘Linewidth’ for gray curve to 0.5. Are the any suggestions to make the other 4 curves (shown as orange, green, red, and purple) more visible?
newcolors = [0.83 0.14 0.14
1.00 0.54 0.00
0.47 0.25 0.80
0.25 0.80 0.54
0.7 0.7 0.7];
colororder(newcolors)I have 5 plots in a figure. One plot has a lot more points (gray color in the figure with about 4000 points) and hence while other a few hundred. I put the color for the larger set curve to gray in order to make the other 4 plots (shown in green, orange, and purple) more visible (following script). I also made the ‘Linewidth’ for gray curve to 0.5. Are the any suggestions to make the other 4 curves (shown as orange, green, red, and purple) more visible?
newcolors = [0.83 0.14 0.14
1.00 0.54 0.00
0.47 0.25 0.80
0.25 0.80 0.54
0.7 0.7 0.7];
colororder(newcolors) I have 5 plots in a figure. One plot has a lot more points (gray color in the figure with about 4000 points) and hence while other a few hundred. I put the color for the larger set curve to gray in order to make the other 4 plots (shown in green, orange, and purple) more visible (following script). I also made the ‘Linewidth’ for gray curve to 0.5. Are the any suggestions to make the other 4 curves (shown as orange, green, red, and purple) more visible?
newcolors = [0.83 0.14 0.14
1.00 0.54 0.00
0.47 0.25 0.80
0.25 0.80 0.54
0.7 0.7 0.7];
colororder(newcolors) plot, visualization MATLAB Answers — New Questions
2022 or later version giving error when compiling model for nucleo board
using nucleo h743zi2 board working fine with matlaab version 2020 but when compling in later version gives error when using some analog pins on the boardusing nucleo h743zi2 board working fine with matlaab version 2020 but when compling in later version gives error when using some analog pins on the board using nucleo h743zi2 board working fine with matlaab version 2020 but when compling in later version gives error when using some analog pins on the board stm, nucleo MATLAB Answers — New Questions
why I cant use velodyneFileReader
hello here,
I am new to this velodyne toolbox, and I am try using velodyneFileReader to read my recorded PCAP file (around 9GB).
the code is as follows
veloReader = velodyneFileReader(‘velodyne.pcap’,’VLP16′)
but it gives me
vision.internal.VelodyneFileReader/open
Error reading packet from PCAP file bogus savefile header.
velodyneFileReader (line 269)
tmpReturnStruct = open(this.VelodyneFileReaderObj, this.FileName,…
rosbagtest (line 4)
veloReader = velodyneFileReader(‘velodyne.pcap’,’VLP16′)
I have tried this command with my other PCAP files (up to 1GB), they were all fine, so I am wondering if there is a size limit with this command or some other issues, thanks.hello here,
I am new to this velodyne toolbox, and I am try using velodyneFileReader to read my recorded PCAP file (around 9GB).
the code is as follows
veloReader = velodyneFileReader(‘velodyne.pcap’,’VLP16′)
but it gives me
vision.internal.VelodyneFileReader/open
Error reading packet from PCAP file bogus savefile header.
velodyneFileReader (line 269)
tmpReturnStruct = open(this.VelodyneFileReaderObj, this.FileName,…
rosbagtest (line 4)
veloReader = velodyneFileReader(‘velodyne.pcap’,’VLP16′)
I have tried this command with my other PCAP files (up to 1GB), they were all fine, so I am wondering if there is a size limit with this command or some other issues, thanks. hello here,
I am new to this velodyne toolbox, and I am try using velodyneFileReader to read my recorded PCAP file (around 9GB).
the code is as follows
veloReader = velodyneFileReader(‘velodyne.pcap’,’VLP16′)
but it gives me
vision.internal.VelodyneFileReader/open
Error reading packet from PCAP file bogus savefile header.
velodyneFileReader (line 269)
tmpReturnStruct = open(this.VelodyneFileReaderObj, this.FileName,…
rosbagtest (line 4)
veloReader = velodyneFileReader(‘velodyne.pcap’,’VLP16′)
I have tried this command with my other PCAP files (up to 1GB), they were all fine, so I am wondering if there is a size limit with this command or some other issues, thanks. velodyne, lidar MATLAB Answers — New Questions
The New Outlook Gains Colored Folder Icons
Outlook Users Never Realized the Desperate Need for Colored Folder Icons
The announcement in message center notification MC993229 (31 January, 2025), Microsoft 365 roadmap item 472921) that the new Outlook (or as it’s referred to in the announcement, “the new Microsoft Outlook for Windows desktop” and OWA are allowing users to personalize folder icon colors is in the category of “why” features. Apparently, the idea is to make it easier for people “to visually differentiate and personalize folders.” The feature is available in targeted release tenants and will be generally available worldwide during March 2025.
I don’t want to pour cold water on innovation, but the thought did go through my mind that the Outlook classic desktop client has survived and prospered since 1997 without different colored folder icons. The same is true for OWA, introduced around the same time, and seemingly unaffected by monocolor folder icons.
Using Outlook Colored Folder Icons
But now we have colored folder icons and the world is a better place. At least, it might be if you’re not color blind (like me) and have difficulties differentiating between nuanced shades. In the spirit of adventure, I resolved to bring a dash of color into my email life and set out to update some folders.
The first thing to note is that you can leave Outlook alone and it will use automatic colors. In other words, Outlook chooses how to present the folder icon. I’m not quite sure what color is used, but it’s functional and never caused me a moment’s worry until now, mostly because I never thought about choosing a new color for folder icons.
In Figure 1, the Archive folder is selected, and its folder icon is colored silver, one of the options in the folder icon palette. Some of the other folders have new colors too. Whether this makes those folders more recognizable or visually differentiated is in the eyes of the beholder.
To reveal the option to choose a new color for a folder icon, click the […] folder menu alongside its name. To produce the screen shot shown in Figure 1, I selected the folder menu for the Sent Items folder. As you can see, Sent Items still uses the automatic default chosen by Outlook. To update the folder icon color, choose one of the available selection like cranberry, light teal, or lime (note to self, who would have thought that I would ever write about applying lime as a color to any Outlook component?).

In any case, it all works, and you can spend a few minutes colorizing your folder icons.
Filers versus Pilers
I don’t know what impetus pushed the Outlook team to introduce colored folder icons at this point in the product’s development. It seems like many users eschew the use of folders apart from the default set because they depend on search to find items of interest when necessary. Piling items into a small set of folders is a habit encouraged by reliable search, something that took Outlook a long time to acquire.
I’m a filer in that I use folders to organize information. I’m not as diligent about filing as I once was in the days when search worked intermittently. Smaller mailbox quotas meant that it was sometimes necessary to clear out lots of items to make space for new email. Large mailbox quotas and retention processing have largely taken care of the need to delete items from mailboxes manually. I guess we need to fill the time once spent removing unwanted debris from mailboxes with other activities, like choosing colors for folder icons.
But Seriously
Some will criticize the Outlook developers for spending valuable engineering time implementing features like folder icon colors. If Microsoft is really serious about convincing the curmudgeons who use Outlook classic to move to the new client before support ceases for Outlook classic in 2029, shouldn’t they be solving the major pain points that stop people switching? Of course, Microsoft should deliver solutions like solid PST support (due imminently according to MC966639), but assigning a bunch of extra engineers to work on the pain points might not create solutions any faster. Which is why the engineers need to be kept occupied by pushing forward the frontiers of information technology with colored folder icons.
Insight like this doesn’t come easily. You’ve got to know the technology and understand how to look behind the scenes. Benefit from the knowledge and experience of the Office 365 for IT Pros team by subscribing to the best eBook covering Office 365 and the wider Microsoft 365 ecosystem.
Debunking Six Myths of Cloud Native Security
The promise of cloud native applications lies in their ability to provide enhanced agility, scalability, and resilience, perfectly aligning with the digital transformation needs of today’s enterprises. However, as we navigate this transformation, cloud native application security is often surrounded by myths and misconceptions. Understanding these myths and how they are being addressed is crucial for organizations to secure their environments effectively.
The promise of cloud native applications lies in their ability to provide enhanced agility, scalability, and resilience, perfectly aligning with the digital transformation needs of today’s enterprises. However, as we navigate this transformation, cloud native application security is often surrounded by myths and misconceptions. Understanding these myths and how they are being addressed is crucial for organizations to secure their environments effectively.
Read More
Matlab using in sSimulink
Hi,
I want to connect PCM_port to pos CELL input model created by simple code (file.m)
I can not understand why it does not works well.
results in attached pictures
Required result of pic – connection required.
Thank for support.
the following code:
pen_system(‘Module_arc’)
mdl = ‘Module_arc’;
bat_rec_model = find_system(mdl,’FindAll’,’on’,’Name’,’Module_arc’);
%%% add Cell – basic CELL_unit:
for i=1:2 %% set two columns
colPos = 200; %% spaces between columns
for v=1:2 %% loop for 13 cells per column
nl=num2str(v + 2*(i-1));
if i==1
AddCell(v) = add_block(‘CELL_Unit/CELL 1’, [mdl,’/CELL ‘,nl]);
else
AddCell(v) = add_block(‘CELL_Unit2/CELL 1’, [mdl,’/CELL ‘,nl]);
end
posc = get(AddCell(v),’Position’);
set(AddCell(v),’Position’,posc + [100+(i-1)*colPos 120*(v-1)-45 100+(i-1)*colPos 120*(v-1)-45])
PH_AddCell{v}=get(AddCell(v),’PortHandles’);
%%% connect minus to plus ports:
if v>1
add_line(mdl,PH_AddCell{v-1}.LConn(2),PH_AddCell{v}.LConn(1),’Autorouting’,’on’);
end
end
end
%%% connect the positive port to first CELL (Cell 1):
Plus_2_Cell = find_system(mdl,’LookUnderMasks’,’All’,’FindAll’,’on’,’Name’,’POS’);
PH_plus2Cell=get(Plus_2_Cell,’PortHandles’);
Pos_port= add_line(mdl,PH_plus2Cell.RConn,PH_AddCell{1}.LConn(1,1), ‘Autorouting’,’on’);Hi,
I want to connect PCM_port to pos CELL input model created by simple code (file.m)
I can not understand why it does not works well.
results in attached pictures
Required result of pic – connection required.
Thank for support.
the following code:
pen_system(‘Module_arc’)
mdl = ‘Module_arc’;
bat_rec_model = find_system(mdl,’FindAll’,’on’,’Name’,’Module_arc’);
%%% add Cell – basic CELL_unit:
for i=1:2 %% set two columns
colPos = 200; %% spaces between columns
for v=1:2 %% loop for 13 cells per column
nl=num2str(v + 2*(i-1));
if i==1
AddCell(v) = add_block(‘CELL_Unit/CELL 1’, [mdl,’/CELL ‘,nl]);
else
AddCell(v) = add_block(‘CELL_Unit2/CELL 1’, [mdl,’/CELL ‘,nl]);
end
posc = get(AddCell(v),’Position’);
set(AddCell(v),’Position’,posc + [100+(i-1)*colPos 120*(v-1)-45 100+(i-1)*colPos 120*(v-1)-45])
PH_AddCell{v}=get(AddCell(v),’PortHandles’);
%%% connect minus to plus ports:
if v>1
add_line(mdl,PH_AddCell{v-1}.LConn(2),PH_AddCell{v}.LConn(1),’Autorouting’,’on’);
end
end
end
%%% connect the positive port to first CELL (Cell 1):
Plus_2_Cell = find_system(mdl,’LookUnderMasks’,’All’,’FindAll’,’on’,’Name’,’POS’);
PH_plus2Cell=get(Plus_2_Cell,’PortHandles’);
Pos_port= add_line(mdl,PH_plus2Cell.RConn,PH_AddCell{1}.LConn(1,1), ‘Autorouting’,’on’); Hi,
I want to connect PCM_port to pos CELL input model created by simple code (file.m)
I can not understand why it does not works well.
results in attached pictures
Required result of pic – connection required.
Thank for support.
the following code:
pen_system(‘Module_arc’)
mdl = ‘Module_arc’;
bat_rec_model = find_system(mdl,’FindAll’,’on’,’Name’,’Module_arc’);
%%% add Cell – basic CELL_unit:
for i=1:2 %% set two columns
colPos = 200; %% spaces between columns
for v=1:2 %% loop for 13 cells per column
nl=num2str(v + 2*(i-1));
if i==1
AddCell(v) = add_block(‘CELL_Unit/CELL 1’, [mdl,’/CELL ‘,nl]);
else
AddCell(v) = add_block(‘CELL_Unit2/CELL 1’, [mdl,’/CELL ‘,nl]);
end
posc = get(AddCell(v),’Position’);
set(AddCell(v),’Position’,posc + [100+(i-1)*colPos 120*(v-1)-45 100+(i-1)*colPos 120*(v-1)-45])
PH_AddCell{v}=get(AddCell(v),’PortHandles’);
%%% connect minus to plus ports:
if v>1
add_line(mdl,PH_AddCell{v-1}.LConn(2),PH_AddCell{v}.LConn(1),’Autorouting’,’on’);
end
end
end
%%% connect the positive port to first CELL (Cell 1):
Plus_2_Cell = find_system(mdl,’LookUnderMasks’,’All’,’FindAll’,’on’,’Name’,’POS’);
PH_plus2Cell=get(Plus_2_Cell,’PortHandles’);
Pos_port= add_line(mdl,PH_plus2Cell.RConn,PH_AddCell{1}.LConn(1,1), ‘Autorouting’,’on’); matlab, simulink MATLAB Answers — New Questions
Simulink/ Stateflow crash when running model in accelerator mode on 2020B – failed assertion
Hello
I have a model which references many other models, this runs fine when I simulate in normal mode, but when I choose accelerator mode one referenced model crashes and therefore the top model willl not run. I get the following error. No idea what it means. The particular model handles a ton of inputs, I tend to think that has something to do with it. Any pointers appreciated!!
Cheers
Richard
failed assertion in b:matlabtoolboxstateflowsrcstateflowfsmde.cpp at line 167:
mxGetLength(prhs[0]) == 1
[ 0] 0x00007ff871985c0d C:UsersmeDocuments2021binwin64stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 1] 0x00007ff8716287e6 C:UsersmeDocuments2021binwin64stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 2] 0x00007ff871627e95 C:UsersmeDocuments2021binwin64stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 3] 0x00007ff8e480a289 C:UsersmeDocuments2021binwin64libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 4] 0x00007ff8e480b67b C:UsersmeDocuments2021binwin64libmex.dll+00571003 MexRetrieveVersion+00003579
[ 5] 0x00007ff8e480b9b4 C:UsersmeDocuments2021binwin64libmex.dll+00571828 MexRetrieveVersion+00004404
[ 6] 0x00007ff8e47ec209 C:UsersmeDocuments2021binwin64libmex.dll+00442889 mexUnlock_800+00023993
[ 7] 0x00007ff8e4dc26c1 binwin64pgom_dispatcher.dll+00665281 Mfh_file::dispatch_file_common+00000165
[ 8] 0x00007ff8e4dc1d62 binwin64pgom_dispatcher.dll+00662882 Mfh_error::lookup+00006498
[ 9] 0x00007ff8e4dc2615 binwin64pgom_dispatcher.dll+00665109 Mfh_file::dispatch+00000045
[ 10] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 11] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 12] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 13] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 14] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 15] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 16] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 17] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 18] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 19] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 20] 0x00007ff8e3a3fcc2 binwin64pgom_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[ 21] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 22] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 23] 0x00007ff8e4abc97c binwin64pgom_interpreter.dll+00051580 inCallFcn+00000084
[ 24] 0x00007ff8d0f34910 C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509072 slsvFEVAL+00001248
[ 25] 0x00007ff87162839e C:UsersmeDocuments2021binwin64stateflow.dll+10519454 SF::sf_mexFunction+00001310
[ 26] 0x00007ff871985c0d C:UsersmeDocuments2021binwin64stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 27] 0x00007ff8716287e6 C:UsersmeDocuments2021binwin64stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 28] 0x00007ff871627e95 C:UsersmeDocuments2021binwin64stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 29] 0x00007ff8e480a289 C:UsersmeDocuments2021binwin64libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 30] 0x00007ff8e480b67b C:UsersmeDocuments2021binwin64libmex.dll+00571003 MexRetrieveVersion+00003579
[ 31] 0x00007ff8e480b9b4 C:UsersmeDocuments2021binwin64libmex.dll+00571828 MexRetrieveVersion+00004404
[ 32] 0x00007ff8e47ec209 C:UsersmeDocuments2021binwin64libmex.dll+00442889 mexUnlock_800+00023993
[ 33] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 34] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 35] 0x00007ff8e1ee456a binwin64pgom_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 36] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 37] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 38] 0x00007ff8e4abc97c binwin64pgom_interpreter.dll+00051580 inCallFcn+00000084
[ 39] 0x00007ff8d0f121cc C:UsersmeDocuments2021binwin64libmwsl_services.dll+02367948 slsv::mxw::WarningHandler::operator=+00006620
[ 40] 0x00007ff8d0f2542c C:UsersmeDocuments2021binwin64libmwsl_services.dll+02446380 CMatlabCommand::execute+00000364
[ 41] 0x00007ff8d0f34a9d C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509469 slsvFEVAL_NoThrow+00000285
[ 42] 0x00007ff8d0f34b30 C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509616 slsvFEVAL_NoThrow+00000064
[ 43] 0x00007ff8b7c1c2c7 C:UsersmeDocuments2021binwin64sl_graphical_classes.dll+02540231 NotifyStateflowNamedEventRecursively+00000951
[ 44] 0x00007ff8a4d6fb5f C:UsersmeDocuments2021binwin64sl_compile.dll+03799903 SlCallSysSort::operator=+00005199
[ 45] 0x00007ff8a4db4762 C:UsersmeDocuments2021binwin64sl_compile.dll+04081506 VarHiddenConnectionInfo::setNIForRemoval+00012818
[ 46] 0x00007ff8a4d2b204 C:UsersmeDocuments2021binwin64sl_compile.dll+03518980 slcomp::data_transfer::DataTransferSpec::setIntegrity+00010596
[ 47] 0x00007ff8a4d1a345 C:UsersmeDocuments2021binwin64sl_compile.dll+03449669 SLCompDiagramImpl+00000709
[ 48] 0x00007ff8ba403e8c C:UsersmeDocuments2021binwin64sl_link_bd.dll+01064588 slink::CreateSlModelForLink+00000780
[ 49] 0x00007ff8ba403bac C:UsersmeDocuments2021binwin64sl_link_bd.dll+01063852 slink::CreateSlModelForLink+00000044
[ 50] 0x00007ff8bb5e6a49 C:UsersmeDocuments2021binwin64libmwsimulink.dll+10709577 SLDynamicEnumType::isLocked+00057273
[ 51] 0x00007ff8bb5f297f C:UsersmeDocuments2021binwin64libmwsimulink.dll+10758527 SLDynamicEnumType::isLocked+00106223
[ 52] 0x00007ff8bb323ed0 C:UsersmeDocuments2021binwin64libmwsimulink.dll+07814864 slFullRTWGen+00000368
[ 53] 0x00007ff8ef8a0cbb C:UsersmeDocuments2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 54] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 55] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 56] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 57] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 58] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 59] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 60] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 61] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 62] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 63] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 64] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 65] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 66] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 67] 0x00007ff8db38744a binwin64pgomcos_impl.dll+00685130 mdIsA+00257770
[ 68] 0x00007ff8db3452cd binwin64pgomcos_impl.dll+00414413
[ 69] 0x00007ff8db358c9d binwin64pgomcos_impl.dll+00494749 mdIsA+00067389
[ 70] 0x00007ff8e4d33157 binwin64pgom_dispatcher.dll+00078167 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00001895
[ 71] 0x00007ff8e4d3331d binwin64pgom_dispatcher.dll+00078621 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 72] 0x00007ff8e1ee3d17 binwin64pgom_lxe.dll+00670999 CGGBuiltinImpl+00295207
[ 73] 0x00007ff8e1eaa56a binwin64pgom_lxe.dll+00435562 CGGBuiltinImpl+00059770
[ 74] 0x00007ff8e1ed7701 binwin64pgom_lxe.dll+00620289 CGGBuiltinImpl+00244497
[ 75] 0x00007ff8e1ed762b binwin64pgom_lxe.dll+00620075 CGGBuiltinImpl+00244283
[ 76] 0x00007ff8e1ed7587 binwin64pgom_lxe.dll+00619911 CGGBuiltinImpl+00244119
[ 77] 0x00007ff8e1ed731f binwin64pgom_lxe.dll+00619295 CGGBuiltinImpl+00243503
[ 78] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 79] 0x00007ff8e200a4dd binwin64pgom_lxe.dll+01877213 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00054677
[ 80] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 81] 0x00007ff8e2000494 binwin64pgom_lxe.dll+01836180 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00013644
[ 82] 0x00007ff8e1ea9747 binwin64pgom_lxe.dll+00431943 CGGBuiltinImpl+00056151
[ 83] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 84] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 85] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 86] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 87] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 88] 0x00007ff8e1ee456a binwin64pgom_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 89] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 90] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 91] 0x00007ff8e4ab9991 binwin64pgom_interpreter.dll+00039313 inFullFevalFcn+00000369
[ 92] 0x00007ff8ef8a0cbb C:UsersS60415Documents2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 93] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 94] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 95] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 96] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 97] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 98] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 99] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[100] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[101] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[102] 0x00007ff8e1eac19c binwin64pgom_lxe.dll+00442780 CGGBuiltinImpl+00066988
[103] 0x00007ff8e1ed99aa binwin64pgom_lxe.dll+00629162 CGGBuiltinImpl+00253370
[104] 0x00007ff8e1ed974f binwin64pgom_lxe.dll+00628559 CGGBuiltinImpl+00252767
[105] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[106] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[107] 0x00007ff8e4ab9991 binwin64pgom_interpreter.dll+00039313 inFullFevalFcn+00000369
[108] 0x00007ff8ef8a0cbb C:UsersS60415Documents2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[109] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[110] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[111] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[112] 0x00007ff8e1ec875f binwin64pgom_lxe.dll+00558943 CGGBuiltinImpl+00183151
[113] 0x00007ff8e1feba76 binwin64pgom_lxe.dll+01751670 MathWorks::lxe::ShutdownLxeEngine+00033418
[114] 0x00007ff8e1feb8e3 binwin64pgom_lxe.dll+01751267 MathWorks::lxe::ShutdownLxeEngine+00033015
[115] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[116] 0x00007ff8e20053a1 binwin64pgom_lxe.dll+01856417 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00033881
[117] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[118] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[119] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[120] 0x00007ff8e1eac19c binwin64pgom_lxe.dll+00442780 CGGBuiltinImpl+00066988
[121] 0x00007ff8e1ed7c41 binwin64pgom_lxe.dll+00621633 CGGBuiltinImpl+00245841
[122] 0x00007ff8e1eac010 binwin64pgom_lxe.dll+00442384 CGGBuiltinImpl+00066592
[123] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[124] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[125] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[126] 0x00007ff8e3a3fcc2 binwin64pgom_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[127] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
MATLAB stack trace:
> In perform_model_reference_error_checks>error_check_machine_data_events (line 28)
In perform_model_reference_error_checks (line 18)
In autobuild_kernel>autobuild_local (line 127)
In autobuild_kernel (line 53)
In autobuild_driver (line 117)
In slsf (line 129)
In tlc_c
In coder.internal/ModelBuilder/buildProcedure (line 823)
In coder.internal/ModelBuilder/make_rtw (line 168)
In coder.internal.ModelCodegenMgr/make_rtw (line 8)
In make_rtw (line 20)
In build_target
In build_target
In build_model_reference_target
In updateMdlRefTarget
In slprivate
In coder.serial.hBuildModelRefs
In coder.serial.buildModelRefs
In update_model_reference_targets
In update_model_reference_targets
In update_model_reference_targets
In slbuild_private
In slbuild_private
In slprivate
mxGetLength(prhs[0]) == 1
Component:Stateflow | Category:Assertion error
### Build procedure for ACIN_HANDLER aborted due to an error.Hello
I have a model which references many other models, this runs fine when I simulate in normal mode, but when I choose accelerator mode one referenced model crashes and therefore the top model willl not run. I get the following error. No idea what it means. The particular model handles a ton of inputs, I tend to think that has something to do with it. Any pointers appreciated!!
Cheers
Richard
failed assertion in b:matlabtoolboxstateflowsrcstateflowfsmde.cpp at line 167:
mxGetLength(prhs[0]) == 1
[ 0] 0x00007ff871985c0d C:UsersmeDocuments2021binwin64stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 1] 0x00007ff8716287e6 C:UsersmeDocuments2021binwin64stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 2] 0x00007ff871627e95 C:UsersmeDocuments2021binwin64stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 3] 0x00007ff8e480a289 C:UsersmeDocuments2021binwin64libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 4] 0x00007ff8e480b67b C:UsersmeDocuments2021binwin64libmex.dll+00571003 MexRetrieveVersion+00003579
[ 5] 0x00007ff8e480b9b4 C:UsersmeDocuments2021binwin64libmex.dll+00571828 MexRetrieveVersion+00004404
[ 6] 0x00007ff8e47ec209 C:UsersmeDocuments2021binwin64libmex.dll+00442889 mexUnlock_800+00023993
[ 7] 0x00007ff8e4dc26c1 binwin64pgom_dispatcher.dll+00665281 Mfh_file::dispatch_file_common+00000165
[ 8] 0x00007ff8e4dc1d62 binwin64pgom_dispatcher.dll+00662882 Mfh_error::lookup+00006498
[ 9] 0x00007ff8e4dc2615 binwin64pgom_dispatcher.dll+00665109 Mfh_file::dispatch+00000045
[ 10] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 11] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 12] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 13] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 14] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 15] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 16] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 17] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 18] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 19] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 20] 0x00007ff8e3a3fcc2 binwin64pgom_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[ 21] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 22] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 23] 0x00007ff8e4abc97c binwin64pgom_interpreter.dll+00051580 inCallFcn+00000084
[ 24] 0x00007ff8d0f34910 C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509072 slsvFEVAL+00001248
[ 25] 0x00007ff87162839e C:UsersmeDocuments2021binwin64stateflow.dll+10519454 SF::sf_mexFunction+00001310
[ 26] 0x00007ff871985c0d C:UsersmeDocuments2021binwin64stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 27] 0x00007ff8716287e6 C:UsersmeDocuments2021binwin64stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 28] 0x00007ff871627e95 C:UsersmeDocuments2021binwin64stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 29] 0x00007ff8e480a289 C:UsersmeDocuments2021binwin64libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 30] 0x00007ff8e480b67b C:UsersmeDocuments2021binwin64libmex.dll+00571003 MexRetrieveVersion+00003579
[ 31] 0x00007ff8e480b9b4 C:UsersmeDocuments2021binwin64libmex.dll+00571828 MexRetrieveVersion+00004404
[ 32] 0x00007ff8e47ec209 C:UsersmeDocuments2021binwin64libmex.dll+00442889 mexUnlock_800+00023993
[ 33] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 34] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 35] 0x00007ff8e1ee456a binwin64pgom_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 36] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 37] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 38] 0x00007ff8e4abc97c binwin64pgom_interpreter.dll+00051580 inCallFcn+00000084
[ 39] 0x00007ff8d0f121cc C:UsersmeDocuments2021binwin64libmwsl_services.dll+02367948 slsv::mxw::WarningHandler::operator=+00006620
[ 40] 0x00007ff8d0f2542c C:UsersmeDocuments2021binwin64libmwsl_services.dll+02446380 CMatlabCommand::execute+00000364
[ 41] 0x00007ff8d0f34a9d C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509469 slsvFEVAL_NoThrow+00000285
[ 42] 0x00007ff8d0f34b30 C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509616 slsvFEVAL_NoThrow+00000064
[ 43] 0x00007ff8b7c1c2c7 C:UsersmeDocuments2021binwin64sl_graphical_classes.dll+02540231 NotifyStateflowNamedEventRecursively+00000951
[ 44] 0x00007ff8a4d6fb5f C:UsersmeDocuments2021binwin64sl_compile.dll+03799903 SlCallSysSort::operator=+00005199
[ 45] 0x00007ff8a4db4762 C:UsersmeDocuments2021binwin64sl_compile.dll+04081506 VarHiddenConnectionInfo::setNIForRemoval+00012818
[ 46] 0x00007ff8a4d2b204 C:UsersmeDocuments2021binwin64sl_compile.dll+03518980 slcomp::data_transfer::DataTransferSpec::setIntegrity+00010596
[ 47] 0x00007ff8a4d1a345 C:UsersmeDocuments2021binwin64sl_compile.dll+03449669 SLCompDiagramImpl+00000709
[ 48] 0x00007ff8ba403e8c C:UsersmeDocuments2021binwin64sl_link_bd.dll+01064588 slink::CreateSlModelForLink+00000780
[ 49] 0x00007ff8ba403bac C:UsersmeDocuments2021binwin64sl_link_bd.dll+01063852 slink::CreateSlModelForLink+00000044
[ 50] 0x00007ff8bb5e6a49 C:UsersmeDocuments2021binwin64libmwsimulink.dll+10709577 SLDynamicEnumType::isLocked+00057273
[ 51] 0x00007ff8bb5f297f C:UsersmeDocuments2021binwin64libmwsimulink.dll+10758527 SLDynamicEnumType::isLocked+00106223
[ 52] 0x00007ff8bb323ed0 C:UsersmeDocuments2021binwin64libmwsimulink.dll+07814864 slFullRTWGen+00000368
[ 53] 0x00007ff8ef8a0cbb C:UsersmeDocuments2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 54] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 55] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 56] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 57] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 58] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 59] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 60] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 61] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 62] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 63] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 64] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 65] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 66] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 67] 0x00007ff8db38744a binwin64pgomcos_impl.dll+00685130 mdIsA+00257770
[ 68] 0x00007ff8db3452cd binwin64pgomcos_impl.dll+00414413
[ 69] 0x00007ff8db358c9d binwin64pgomcos_impl.dll+00494749 mdIsA+00067389
[ 70] 0x00007ff8e4d33157 binwin64pgom_dispatcher.dll+00078167 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00001895
[ 71] 0x00007ff8e4d3331d binwin64pgom_dispatcher.dll+00078621 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 72] 0x00007ff8e1ee3d17 binwin64pgom_lxe.dll+00670999 CGGBuiltinImpl+00295207
[ 73] 0x00007ff8e1eaa56a binwin64pgom_lxe.dll+00435562 CGGBuiltinImpl+00059770
[ 74] 0x00007ff8e1ed7701 binwin64pgom_lxe.dll+00620289 CGGBuiltinImpl+00244497
[ 75] 0x00007ff8e1ed762b binwin64pgom_lxe.dll+00620075 CGGBuiltinImpl+00244283
[ 76] 0x00007ff8e1ed7587 binwin64pgom_lxe.dll+00619911 CGGBuiltinImpl+00244119
[ 77] 0x00007ff8e1ed731f binwin64pgom_lxe.dll+00619295 CGGBuiltinImpl+00243503
[ 78] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 79] 0x00007ff8e200a4dd binwin64pgom_lxe.dll+01877213 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00054677
[ 80] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 81] 0x00007ff8e2000494 binwin64pgom_lxe.dll+01836180 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00013644
[ 82] 0x00007ff8e1ea9747 binwin64pgom_lxe.dll+00431943 CGGBuiltinImpl+00056151
[ 83] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 84] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 85] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 86] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 87] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 88] 0x00007ff8e1ee456a binwin64pgom_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 89] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 90] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 91] 0x00007ff8e4ab9991 binwin64pgom_interpreter.dll+00039313 inFullFevalFcn+00000369
[ 92] 0x00007ff8ef8a0cbb C:UsersS60415Documents2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 93] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 94] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 95] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 96] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 97] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 98] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 99] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[100] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[101] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[102] 0x00007ff8e1eac19c binwin64pgom_lxe.dll+00442780 CGGBuiltinImpl+00066988
[103] 0x00007ff8e1ed99aa binwin64pgom_lxe.dll+00629162 CGGBuiltinImpl+00253370
[104] 0x00007ff8e1ed974f binwin64pgom_lxe.dll+00628559 CGGBuiltinImpl+00252767
[105] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[106] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[107] 0x00007ff8e4ab9991 binwin64pgom_interpreter.dll+00039313 inFullFevalFcn+00000369
[108] 0x00007ff8ef8a0cbb C:UsersS60415Documents2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[109] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[110] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[111] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[112] 0x00007ff8e1ec875f binwin64pgom_lxe.dll+00558943 CGGBuiltinImpl+00183151
[113] 0x00007ff8e1feba76 binwin64pgom_lxe.dll+01751670 MathWorks::lxe::ShutdownLxeEngine+00033418
[114] 0x00007ff8e1feb8e3 binwin64pgom_lxe.dll+01751267 MathWorks::lxe::ShutdownLxeEngine+00033015
[115] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[116] 0x00007ff8e20053a1 binwin64pgom_lxe.dll+01856417 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00033881
[117] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[118] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[119] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[120] 0x00007ff8e1eac19c binwin64pgom_lxe.dll+00442780 CGGBuiltinImpl+00066988
[121] 0x00007ff8e1ed7c41 binwin64pgom_lxe.dll+00621633 CGGBuiltinImpl+00245841
[122] 0x00007ff8e1eac010 binwin64pgom_lxe.dll+00442384 CGGBuiltinImpl+00066592
[123] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[124] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[125] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[126] 0x00007ff8e3a3fcc2 binwin64pgom_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[127] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
MATLAB stack trace:
> In perform_model_reference_error_checks>error_check_machine_data_events (line 28)
In perform_model_reference_error_checks (line 18)
In autobuild_kernel>autobuild_local (line 127)
In autobuild_kernel (line 53)
In autobuild_driver (line 117)
In slsf (line 129)
In tlc_c
In coder.internal/ModelBuilder/buildProcedure (line 823)
In coder.internal/ModelBuilder/make_rtw (line 168)
In coder.internal.ModelCodegenMgr/make_rtw (line 8)
In make_rtw (line 20)
In build_target
In build_target
In build_model_reference_target
In updateMdlRefTarget
In slprivate
In coder.serial.hBuildModelRefs
In coder.serial.buildModelRefs
In update_model_reference_targets
In update_model_reference_targets
In update_model_reference_targets
In slbuild_private
In slbuild_private
In slprivate
mxGetLength(prhs[0]) == 1
Component:Stateflow | Category:Assertion error
### Build procedure for ACIN_HANDLER aborted due to an error. Hello
I have a model which references many other models, this runs fine when I simulate in normal mode, but when I choose accelerator mode one referenced model crashes and therefore the top model willl not run. I get the following error. No idea what it means. The particular model handles a ton of inputs, I tend to think that has something to do with it. Any pointers appreciated!!
Cheers
Richard
failed assertion in b:matlabtoolboxstateflowsrcstateflowfsmde.cpp at line 167:
mxGetLength(prhs[0]) == 1
[ 0] 0x00007ff871985c0d C:UsersmeDocuments2021binwin64stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 1] 0x00007ff8716287e6 C:UsersmeDocuments2021binwin64stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 2] 0x00007ff871627e95 C:UsersmeDocuments2021binwin64stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 3] 0x00007ff8e480a289 C:UsersmeDocuments2021binwin64libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 4] 0x00007ff8e480b67b C:UsersmeDocuments2021binwin64libmex.dll+00571003 MexRetrieveVersion+00003579
[ 5] 0x00007ff8e480b9b4 C:UsersmeDocuments2021binwin64libmex.dll+00571828 MexRetrieveVersion+00004404
[ 6] 0x00007ff8e47ec209 C:UsersmeDocuments2021binwin64libmex.dll+00442889 mexUnlock_800+00023993
[ 7] 0x00007ff8e4dc26c1 binwin64pgom_dispatcher.dll+00665281 Mfh_file::dispatch_file_common+00000165
[ 8] 0x00007ff8e4dc1d62 binwin64pgom_dispatcher.dll+00662882 Mfh_error::lookup+00006498
[ 9] 0x00007ff8e4dc2615 binwin64pgom_dispatcher.dll+00665109 Mfh_file::dispatch+00000045
[ 10] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 11] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 12] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 13] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 14] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 15] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 16] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 17] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 18] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 19] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 20] 0x00007ff8e3a3fcc2 binwin64pgom_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[ 21] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 22] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 23] 0x00007ff8e4abc97c binwin64pgom_interpreter.dll+00051580 inCallFcn+00000084
[ 24] 0x00007ff8d0f34910 C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509072 slsvFEVAL+00001248
[ 25] 0x00007ff87162839e C:UsersmeDocuments2021binwin64stateflow.dll+10519454 SF::sf_mexFunction+00001310
[ 26] 0x00007ff871985c0d C:UsersmeDocuments2021binwin64stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 27] 0x00007ff8716287e6 C:UsersmeDocuments2021binwin64stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 28] 0x00007ff871627e95 C:UsersmeDocuments2021binwin64stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 29] 0x00007ff8e480a289 C:UsersmeDocuments2021binwin64libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 30] 0x00007ff8e480b67b C:UsersmeDocuments2021binwin64libmex.dll+00571003 MexRetrieveVersion+00003579
[ 31] 0x00007ff8e480b9b4 C:UsersmeDocuments2021binwin64libmex.dll+00571828 MexRetrieveVersion+00004404
[ 32] 0x00007ff8e47ec209 C:UsersmeDocuments2021binwin64libmex.dll+00442889 mexUnlock_800+00023993
[ 33] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 34] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 35] 0x00007ff8e1ee456a binwin64pgom_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 36] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 37] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 38] 0x00007ff8e4abc97c binwin64pgom_interpreter.dll+00051580 inCallFcn+00000084
[ 39] 0x00007ff8d0f121cc C:UsersmeDocuments2021binwin64libmwsl_services.dll+02367948 slsv::mxw::WarningHandler::operator=+00006620
[ 40] 0x00007ff8d0f2542c C:UsersmeDocuments2021binwin64libmwsl_services.dll+02446380 CMatlabCommand::execute+00000364
[ 41] 0x00007ff8d0f34a9d C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509469 slsvFEVAL_NoThrow+00000285
[ 42] 0x00007ff8d0f34b30 C:UsersmeDocuments2021binwin64libmwsl_services.dll+02509616 slsvFEVAL_NoThrow+00000064
[ 43] 0x00007ff8b7c1c2c7 C:UsersmeDocuments2021binwin64sl_graphical_classes.dll+02540231 NotifyStateflowNamedEventRecursively+00000951
[ 44] 0x00007ff8a4d6fb5f C:UsersmeDocuments2021binwin64sl_compile.dll+03799903 SlCallSysSort::operator=+00005199
[ 45] 0x00007ff8a4db4762 C:UsersmeDocuments2021binwin64sl_compile.dll+04081506 VarHiddenConnectionInfo::setNIForRemoval+00012818
[ 46] 0x00007ff8a4d2b204 C:UsersmeDocuments2021binwin64sl_compile.dll+03518980 slcomp::data_transfer::DataTransferSpec::setIntegrity+00010596
[ 47] 0x00007ff8a4d1a345 C:UsersmeDocuments2021binwin64sl_compile.dll+03449669 SLCompDiagramImpl+00000709
[ 48] 0x00007ff8ba403e8c C:UsersmeDocuments2021binwin64sl_link_bd.dll+01064588 slink::CreateSlModelForLink+00000780
[ 49] 0x00007ff8ba403bac C:UsersmeDocuments2021binwin64sl_link_bd.dll+01063852 slink::CreateSlModelForLink+00000044
[ 50] 0x00007ff8bb5e6a49 C:UsersmeDocuments2021binwin64libmwsimulink.dll+10709577 SLDynamicEnumType::isLocked+00057273
[ 51] 0x00007ff8bb5f297f C:UsersmeDocuments2021binwin64libmwsimulink.dll+10758527 SLDynamicEnumType::isLocked+00106223
[ 52] 0x00007ff8bb323ed0 C:UsersmeDocuments2021binwin64libmwsimulink.dll+07814864 slFullRTWGen+00000368
[ 53] 0x00007ff8ef8a0cbb C:UsersmeDocuments2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 54] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 55] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 56] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 57] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 58] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 59] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 60] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 61] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 62] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 63] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 64] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 65] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 66] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 67] 0x00007ff8db38744a binwin64pgomcos_impl.dll+00685130 mdIsA+00257770
[ 68] 0x00007ff8db3452cd binwin64pgomcos_impl.dll+00414413
[ 69] 0x00007ff8db358c9d binwin64pgomcos_impl.dll+00494749 mdIsA+00067389
[ 70] 0x00007ff8e4d33157 binwin64pgom_dispatcher.dll+00078167 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00001895
[ 71] 0x00007ff8e4d3331d binwin64pgom_dispatcher.dll+00078621 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 72] 0x00007ff8e1ee3d17 binwin64pgom_lxe.dll+00670999 CGGBuiltinImpl+00295207
[ 73] 0x00007ff8e1eaa56a binwin64pgom_lxe.dll+00435562 CGGBuiltinImpl+00059770
[ 74] 0x00007ff8e1ed7701 binwin64pgom_lxe.dll+00620289 CGGBuiltinImpl+00244497
[ 75] 0x00007ff8e1ed762b binwin64pgom_lxe.dll+00620075 CGGBuiltinImpl+00244283
[ 76] 0x00007ff8e1ed7587 binwin64pgom_lxe.dll+00619911 CGGBuiltinImpl+00244119
[ 77] 0x00007ff8e1ed731f binwin64pgom_lxe.dll+00619295 CGGBuiltinImpl+00243503
[ 78] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 79] 0x00007ff8e200a4dd binwin64pgom_lxe.dll+01877213 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00054677
[ 80] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 81] 0x00007ff8e2000494 binwin64pgom_lxe.dll+01836180 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00013644
[ 82] 0x00007ff8e1ea9747 binwin64pgom_lxe.dll+00431943 CGGBuiltinImpl+00056151
[ 83] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 84] 0x00007ff8e1eabeb3 binwin64pgom_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 85] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 86] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 87] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 88] 0x00007ff8e1ee456a binwin64pgom_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 89] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 90] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 91] 0x00007ff8e4ab9991 binwin64pgom_interpreter.dll+00039313 inFullFevalFcn+00000369
[ 92] 0x00007ff8ef8a0cbb C:UsersS60415Documents2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 93] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 94] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 95] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 96] 0x00007ff8e1ec8208 binwin64pgom_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 97] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 98] 0x00007ff8e1fc7861 binwin64pgom_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 99] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[100] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[101] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[102] 0x00007ff8e1eac19c binwin64pgom_lxe.dll+00442780 CGGBuiltinImpl+00066988
[103] 0x00007ff8e1ed99aa binwin64pgom_lxe.dll+00629162 CGGBuiltinImpl+00253370
[104] 0x00007ff8e1ed974f binwin64pgom_lxe.dll+00628559 CGGBuiltinImpl+00252767
[105] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
[106] 0x00007ff8e1ee3959 binwin64pgom_lxe.dll+00670041 CGGBuiltinImpl+00294249
[107] 0x00007ff8e4ab9991 binwin64pgom_interpreter.dll+00039313 inFullFevalFcn+00000369
[108] 0x00007ff8ef8a0cbb C:UsersS60415Documents2021binwin64builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[109] 0x00007ff8e4d42156 binwin64pgom_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[110] 0x00007ff8e4d32053 binwin64pgom_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[111] 0x00007ff8e4d31dad binwin64pgom_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[112] 0x00007ff8e1ec875f binwin64pgom_lxe.dll+00558943 CGGBuiltinImpl+00183151
[113] 0x00007ff8e1feba76 binwin64pgom_lxe.dll+01751670 MathWorks::lxe::ShutdownLxeEngine+00033418
[114] 0x00007ff8e1feb8e3 binwin64pgom_lxe.dll+01751267 MathWorks::lxe::ShutdownLxeEngine+00033015
[115] 0x00007ff8e1eab484 binwin64pgom_lxe.dll+00439428 CGGBuiltinImpl+00063636
[116] 0x00007ff8e20053a1 binwin64pgom_lxe.dll+01856417 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00033881
[117] 0x00007ff8e1ea9cfb binwin64pgom_lxe.dll+00433403 CGGBuiltinImpl+00057611
[118] 0x00007ff8e1ea7eb9 binwin64pgom_lxe.dll+00425657 CGGBuiltinImpl+00049865
[119] 0x00007ff8e1ead185 binwin64pgom_lxe.dll+00446853 CGGBuiltinImpl+00071061
[120] 0x00007ff8e1eac19c binwin64pgom_lxe.dll+00442780 CGGBuiltinImpl+00066988
[121] 0x00007ff8e1ed7c41 binwin64pgom_lxe.dll+00621633 CGGBuiltinImpl+00245841
[122] 0x00007ff8e1eac010 binwin64pgom_lxe.dll+00442384 CGGBuiltinImpl+00066592
[123] 0x00007ff8e1ead680 binwin64pgom_lxe.dll+00448128 CGGBuiltinImpl+00072336
[124] 0x00007ff8e4d32700 binwin64pgom_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[125] 0x00007ff8e4d3239d binwin64pgom_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[126] 0x00007ff8e3a3fcc2 binwin64pgom_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[127] 0x00007ff8e1ee3a07 binwin64pgom_lxe.dll+00670215 CGGBuiltinImpl+00294423
MATLAB stack trace:
> In perform_model_reference_error_checks>error_check_machine_data_events (line 28)
In perform_model_reference_error_checks (line 18)
In autobuild_kernel>autobuild_local (line 127)
In autobuild_kernel (line 53)
In autobuild_driver (line 117)
In slsf (line 129)
In tlc_c
In coder.internal/ModelBuilder/buildProcedure (line 823)
In coder.internal/ModelBuilder/make_rtw (line 168)
In coder.internal.ModelCodegenMgr/make_rtw (line 8)
In make_rtw (line 20)
In build_target
In build_target
In build_model_reference_target
In updateMdlRefTarget
In slprivate
In coder.serial.hBuildModelRefs
In coder.serial.buildModelRefs
In update_model_reference_targets
In update_model_reference_targets
In update_model_reference_targets
In slbuild_private
In slbuild_private
In slprivate
mxGetLength(prhs[0]) == 1
Component:Stateflow | Category:Assertion error
### Build procedure for ACIN_HANDLER aborted due to an error. crash accelerator MATLAB Answers — New Questions
Looking for linear system Ax=0 precision improvements
Hi, I’m solving a system of equations .
x=null(A);
The problem is that due to a very wide range of values in the A matrix () the roundoff error result in inacceptably large relative errors in the solution. How can I improve this numerical resolution? The matrix is relatively small (30×30) so speed is not a big limitation. Also all the large values are on the same colums.
Edit2: clarifying the question and objectives
To clarify my issue, my understanding is that null sort of ends up minimising .
Its limited double precision and even if you plug in the exact solution, i can only hope to have about
A*x <= length(x)*eps(max(A.*x’))
When i plot A*x, I get something closer to
A*x = length(x)*eps(max(A.*x’,[],’all’))
This is probably to be expected as minimisation of "distributes the error" over all components equally?
In my case, I care about relative errors of individual coordinates . I want them to be small and at least know when a value is smaller than engine precision.
Can I be more precise in calculating the small value at the cost of the larger ones if necessary, and how up to what threshold I can trust this value?
A good improvement was proposed:
s = max(abs(A),[],1); %rescaling
x = null(A./s)./(s’);
This is better but not quite sufficient and I stil miss the key aspect of knowing what value is below reasonaly accurate. I initially used x>eps(1) to check for that. This was wrong but my following attemps were not any better.
—– Edit: Correcting the question following Matt’s advice. —–
I benchmark the relative error over each element of the solution , with .
relative_error = abs((A*x)./(vecnorm(A)’.*x));
I have a kinda dirty solution using a combination of rescaling, null(), and fsolve(). You can see below the result for four different approaches.
x1 = null(A);
x1 = x1/sum(x1(:,1));
s = max(abs(A),[],1); %rescaling
x2 = null(A./s)./(s’);
x2 = x2/sum(x2(:,1));
x3 = fsolve(@(y) A*y,x2,optimoptions(‘fsolve’,’Display’,’off’));
x3=x3/sum(x3);
precision = length(A)*eps(max(abs(A.*(x2′)),[],2));
x4 = fsolve(@(y) A*y./max(abs(x2),precision),x2,optimoptions(‘fsolve’,’Display’,’off’));
x4 = x4/sum(x4);
figure
hold on
plot(x4,’k–‘)
relative_error = abs((A*x1)./(vecnorm(A)’.*x1));
plot(relative_error)
relative_error = abs((A*x2)./(vecnorm(A)’.*x2));
plot(relative_error)
relative_error = abs((A*x3)./(vecnorm(A)’.*x3));
plot(relative_error)
relative_error = abs((A*x4)./(vecnorm(A)’.*x4));
plot(relative_error)
set(gca,’Yscale’,’log’)
legend({‘x_4′,’err 1′,’err 2′,’err 3′,’err 4’})
The method is probably a bit slow and dirty but the relative error reached is close to eps.Hi, I’m solving a system of equations .
x=null(A);
The problem is that due to a very wide range of values in the A matrix () the roundoff error result in inacceptably large relative errors in the solution. How can I improve this numerical resolution? The matrix is relatively small (30×30) so speed is not a big limitation. Also all the large values are on the same colums.
Edit2: clarifying the question and objectives
To clarify my issue, my understanding is that null sort of ends up minimising .
Its limited double precision and even if you plug in the exact solution, i can only hope to have about
A*x <= length(x)*eps(max(A.*x’))
When i plot A*x, I get something closer to
A*x = length(x)*eps(max(A.*x’,[],’all’))
This is probably to be expected as minimisation of "distributes the error" over all components equally?
In my case, I care about relative errors of individual coordinates . I want them to be small and at least know when a value is smaller than engine precision.
Can I be more precise in calculating the small value at the cost of the larger ones if necessary, and how up to what threshold I can trust this value?
A good improvement was proposed:
s = max(abs(A),[],1); %rescaling
x = null(A./s)./(s’);
This is better but not quite sufficient and I stil miss the key aspect of knowing what value is below reasonaly accurate. I initially used x>eps(1) to check for that. This was wrong but my following attemps were not any better.
—– Edit: Correcting the question following Matt’s advice. —–
I benchmark the relative error over each element of the solution , with .
relative_error = abs((A*x)./(vecnorm(A)’.*x));
I have a kinda dirty solution using a combination of rescaling, null(), and fsolve(). You can see below the result for four different approaches.
x1 = null(A);
x1 = x1/sum(x1(:,1));
s = max(abs(A),[],1); %rescaling
x2 = null(A./s)./(s’);
x2 = x2/sum(x2(:,1));
x3 = fsolve(@(y) A*y,x2,optimoptions(‘fsolve’,’Display’,’off’));
x3=x3/sum(x3);
precision = length(A)*eps(max(abs(A.*(x2′)),[],2));
x4 = fsolve(@(y) A*y./max(abs(x2),precision),x2,optimoptions(‘fsolve’,’Display’,’off’));
x4 = x4/sum(x4);
figure
hold on
plot(x4,’k–‘)
relative_error = abs((A*x1)./(vecnorm(A)’.*x1));
plot(relative_error)
relative_error = abs((A*x2)./(vecnorm(A)’.*x2));
plot(relative_error)
relative_error = abs((A*x3)./(vecnorm(A)’.*x3));
plot(relative_error)
relative_error = abs((A*x4)./(vecnorm(A)’.*x4));
plot(relative_error)
set(gca,’Yscale’,’log’)
legend({‘x_4′,’err 1′,’err 2′,’err 3′,’err 4’})
The method is probably a bit slow and dirty but the relative error reached is close to eps. Hi, I’m solving a system of equations .
x=null(A);
The problem is that due to a very wide range of values in the A matrix () the roundoff error result in inacceptably large relative errors in the solution. How can I improve this numerical resolution? The matrix is relatively small (30×30) so speed is not a big limitation. Also all the large values are on the same colums.
Edit2: clarifying the question and objectives
To clarify my issue, my understanding is that null sort of ends up minimising .
Its limited double precision and even if you plug in the exact solution, i can only hope to have about
A*x <= length(x)*eps(max(A.*x’))
When i plot A*x, I get something closer to
A*x = length(x)*eps(max(A.*x’,[],’all’))
This is probably to be expected as minimisation of "distributes the error" over all components equally?
In my case, I care about relative errors of individual coordinates . I want them to be small and at least know when a value is smaller than engine precision.
Can I be more precise in calculating the small value at the cost of the larger ones if necessary, and how up to what threshold I can trust this value?
A good improvement was proposed:
s = max(abs(A),[],1); %rescaling
x = null(A./s)./(s’);
This is better but not quite sufficient and I stil miss the key aspect of knowing what value is below reasonaly accurate. I initially used x>eps(1) to check for that. This was wrong but my following attemps were not any better.
—– Edit: Correcting the question following Matt’s advice. —–
I benchmark the relative error over each element of the solution , with .
relative_error = abs((A*x)./(vecnorm(A)’.*x));
I have a kinda dirty solution using a combination of rescaling, null(), and fsolve(). You can see below the result for four different approaches.
x1 = null(A);
x1 = x1/sum(x1(:,1));
s = max(abs(A),[],1); %rescaling
x2 = null(A./s)./(s’);
x2 = x2/sum(x2(:,1));
x3 = fsolve(@(y) A*y,x2,optimoptions(‘fsolve’,’Display’,’off’));
x3=x3/sum(x3);
precision = length(A)*eps(max(abs(A.*(x2′)),[],2));
x4 = fsolve(@(y) A*y./max(abs(x2),precision),x2,optimoptions(‘fsolve’,’Display’,’off’));
x4 = x4/sum(x4);
figure
hold on
plot(x4,’k–‘)
relative_error = abs((A*x1)./(vecnorm(A)’.*x1));
plot(relative_error)
relative_error = abs((A*x2)./(vecnorm(A)’.*x2));
plot(relative_error)
relative_error = abs((A*x3)./(vecnorm(A)’.*x3));
plot(relative_error)
relative_error = abs((A*x4)./(vecnorm(A)’.*x4));
plot(relative_error)
set(gca,’Yscale’,’log’)
legend({‘x_4′,’err 1′,’err 2′,’err 3′,’err 4’})
The method is probably a bit slow and dirty but the relative error reached is close to eps. equation, roundoff MATLAB Answers — New Questions
Not recognising named input argument
This is the head of my function:
function results = spectral_coi(seeds, labels, rr_k, d, n)
arguments
seeds cell % seeds for COI clusters
labels (:, 1) uint8 % labels ( x samples)
end
arguments (Repeating)
rr_k double {mustBeNumeric} % input arrays x k ( x samples x timepoints)
end
arguments
d.idx_seed logical {mustBeNumericOrLogical} = true % are seeds as indices (or in physical units)
d.output_type (1, 🙂 string …
{mustBeMember(d.output_type, {‘all’, ‘phase’, ‘power’, ‘spectral’})} …
= ‘all’
d.transform string …
{mustBeMember(d.transform, {‘native’, ‘fftw3’})}…
= ‘native’
d.verbosity uint8 = 0 % provide feedback?
d.z_pvl double = 0.05 % cluster pval
n.time (1, 🙂 double {mustBeNumeric} % timepoints for reference to seeds physical units
n.f_s double {mustBePositive} % sampling frequency, return normalized frequencies if not provided
n.lof double {mustBePositive} % lowest frequency to calculate (Hz)
n.hif double {mustBePositive} % highest frequency to calculate (Hz)
n.pl {mustBeInteger} % num permutations
end
I call it like this:
results = spectral_coi({[140, 9]}, stim, dat, "output_type", "phase", …
"idx_seed", false, …
"is_fbk", false, …
"transform", "native", …
"verbosity", 2, …
"time", time, "f_s", f_s, "hif", 15, "lof", 2, "pl", 2);
Yet rr_k is now
rr_k =
1×7 cell array
Columns 1 through 3
{1078×399 double} {[NaN]} {[NaN]}
Columns 4 through 7
{[NaN]} {[0]} {[NaN]} {[0]}
Suggesting that it has intepreted the inputs up until "transform" as a repeating input. Instead it should have ofcoursed recognised the named inputs like it did with everything afterwards. What is going on? Why start recognising inputs at "transform"?This is the head of my function:
function results = spectral_coi(seeds, labels, rr_k, d, n)
arguments
seeds cell % seeds for COI clusters
labels (:, 1) uint8 % labels ( x samples)
end
arguments (Repeating)
rr_k double {mustBeNumeric} % input arrays x k ( x samples x timepoints)
end
arguments
d.idx_seed logical {mustBeNumericOrLogical} = true % are seeds as indices (or in physical units)
d.output_type (1, 🙂 string …
{mustBeMember(d.output_type, {‘all’, ‘phase’, ‘power’, ‘spectral’})} …
= ‘all’
d.transform string …
{mustBeMember(d.transform, {‘native’, ‘fftw3’})}…
= ‘native’
d.verbosity uint8 = 0 % provide feedback?
d.z_pvl double = 0.05 % cluster pval
n.time (1, 🙂 double {mustBeNumeric} % timepoints for reference to seeds physical units
n.f_s double {mustBePositive} % sampling frequency, return normalized frequencies if not provided
n.lof double {mustBePositive} % lowest frequency to calculate (Hz)
n.hif double {mustBePositive} % highest frequency to calculate (Hz)
n.pl {mustBeInteger} % num permutations
end
I call it like this:
results = spectral_coi({[140, 9]}, stim, dat, "output_type", "phase", …
"idx_seed", false, …
"is_fbk", false, …
"transform", "native", …
"verbosity", 2, …
"time", time, "f_s", f_s, "hif", 15, "lof", 2, "pl", 2);
Yet rr_k is now
rr_k =
1×7 cell array
Columns 1 through 3
{1078×399 double} {[NaN]} {[NaN]}
Columns 4 through 7
{[NaN]} {[0]} {[NaN]} {[0]}
Suggesting that it has intepreted the inputs up until "transform" as a repeating input. Instead it should have ofcoursed recognised the named inputs like it did with everything afterwards. What is going on? Why start recognising inputs at "transform"? This is the head of my function:
function results = spectral_coi(seeds, labels, rr_k, d, n)
arguments
seeds cell % seeds for COI clusters
labels (:, 1) uint8 % labels ( x samples)
end
arguments (Repeating)
rr_k double {mustBeNumeric} % input arrays x k ( x samples x timepoints)
end
arguments
d.idx_seed logical {mustBeNumericOrLogical} = true % are seeds as indices (or in physical units)
d.output_type (1, 🙂 string …
{mustBeMember(d.output_type, {‘all’, ‘phase’, ‘power’, ‘spectral’})} …
= ‘all’
d.transform string …
{mustBeMember(d.transform, {‘native’, ‘fftw3’})}…
= ‘native’
d.verbosity uint8 = 0 % provide feedback?
d.z_pvl double = 0.05 % cluster pval
n.time (1, 🙂 double {mustBeNumeric} % timepoints for reference to seeds physical units
n.f_s double {mustBePositive} % sampling frequency, return normalized frequencies if not provided
n.lof double {mustBePositive} % lowest frequency to calculate (Hz)
n.hif double {mustBePositive} % highest frequency to calculate (Hz)
n.pl {mustBeInteger} % num permutations
end
I call it like this:
results = spectral_coi({[140, 9]}, stim, dat, "output_type", "phase", …
"idx_seed", false, …
"is_fbk", false, …
"transform", "native", …
"verbosity", 2, …
"time", time, "f_s", f_s, "hif", 15, "lof", 2, "pl", 2);
Yet rr_k is now
rr_k =
1×7 cell array
Columns 1 through 3
{1078×399 double} {[NaN]} {[NaN]}
Columns 4 through 7
{[NaN]} {[0]} {[NaN]} {[0]}
Suggesting that it has intepreted the inputs up until "transform" as a repeating input. Instead it should have ofcoursed recognised the named inputs like it did with everything afterwards. What is going on? Why start recognising inputs at "transform"? matlab function MATLAB Answers — New Questions
Using iOS Build Numbers in Exchange ActiveSync Device Access Rules
Now Possible to Include iOS Build Numbers in ActiveSync Device Access Rules to Allow Access for Devices Running Specific Builds
I last looked at Exchange Online Mobile Device management in June 2023, when I wrote about reporting devices that synchronize with Exchange mailboxes using ActiveSync. At the time, I said that not many changes had recently occurred in Exchange Mobile Device Management. After all, Microsoft wants customers to use Intune, and Exchange Mobile Device Management is very much the runt in the Microsoft device management litter.
Which brings me to message center notification MC916298 (23 October 2024) and now fully available in tenants worldwide. It’s the first change in ActiveSync Device Access rules that I can remember since Microsoft updated rules to support Outlook for iOS and Android after its Acompli acquisition in late 2014. The best articles about how to configure device access rules still date from that period. Exchange ActiveSync is not an area of high change.
Query Strings and iOS Build Numbers (or Build Strings)
The change is that Apple iOS build information is now supported in the query string used to check the O/S version on mobile devices attempting to connect to Exchange Online mailboxes. MC916298 says “build number,” but Apple uses alphabetic identifiers like 22D72 (Figure 1).

Leaving semantics aside, the point is that organizations can create ActiveSync device access rules based on the information reported by iOS devices. For example, this code creates an access rule that allows IOS devices running iOS 18.3.1 22D72:
New-ActiveSyncDeviceAccessRule -AccessLevel Allow -Characteristic DeviceOS -QueryString "iOS 18.3.1 22D72"
To block iOS devices with a specific build, change the access level to Block.
I guess that the new capability exists to allow tenants to insist that iOS devices use a specific build for whatever reason that they might have. It’s just another level of granularity to detect devices.
Testing a Block Using iOS Build Numbers
The documentation for the New-ActiveSyncDeviceAccessRule cmdlet hasn’t been updated recently (it features examples blocking iOS devices running 6.1.1), so don’t expect much additional information from that source. However, I can guarantee that the access rule shown above works. I know this because I removed all the other access rules from my tenant and created one that was slightly different to the one shown above (IOS 18.4.1 rather than iOS 18.3.1). After a pause of about 15 minutes for the rule changes to replicate and become effective, the access rule blocked any attempt by Outlook for iOS to synchronize with mailboxes (Figure 2).

Users of non-compliant iOS devices also received email to tell them that their devices couldn’t connect and was blocked from synchronizing with Exchange Online (Figure 3). Interestingly, the blocked devices have never shown up in the quarantined device list in the Exchange admin center.

After being shouted at by several users who were unhappy that their email wouldn’t synchronize, I deleted the incorrect access rule and replaced it with the proper version. Within 15 minutes, email flowed again and all was well.
Time to Check Device Access Rules
Apart from playing with IOS build numbers, the exercise in testing device access rules was useful because it forced me to clean out the old and obsolete device access rules that had accumulated in my tenant. There was a time when these rules were critical. Given the dominance of Outlook for iOS and Android, I suspect that many tenants have just one rule (to allow access to those clients. Defining more sophisticated access rules are only needed to control clients that use the Exchange ActiveSync protocol for everything, like the native Apple mail app. Oh well, on to the next thing.
Learn how to exploit the data available to Microsoft 365 tenant administrators through the Office 365 for IT Pros eBook. We love figuring out how things work.
data set of IC Engine containing speed, Fuel injection ratio,Torque, and Break Specific Fuel Consumption
can i get a data set which contain IC vehicle Engine parameters speed, Fuel injection ratio,Torque, and Break Specific Fuel Consumption?can i get a data set which contain IC vehicle Engine parameters speed, Fuel injection ratio,Torque, and Break Specific Fuel Consumption? can i get a data set which contain IC vehicle Engine parameters speed, Fuel injection ratio,Torque, and Break Specific Fuel Consumption? machine learning MATLAB Answers — New Questions
How to create a CCS ToolchainInfo object in Matlab2023?
I am connecting CCS6.2 to Matlab2023b, but i’m getting an error when i use code "ticcs(‘boardnum’,0, ‘procnum’, 0)" to identify F2812 board. I used it by Matlab2011 and i didn’t have any problem. Anyone can help me please?
I want to create a CCS object in the matlab GUI host program, so that I can control the start and stop of the DSP and the transmission of data after the model is automatically generated into code.I am connecting CCS6.2 to Matlab2023b, but i’m getting an error when i use code "ticcs(‘boardnum’,0, ‘procnum’, 0)" to identify F2812 board. I used it by Matlab2011 and i didn’t have any problem. Anyone can help me please?
I want to create a CCS object in the matlab GUI host program, so that I can control the start and stop of the DSP and the transmission of data after the model is automatically generated into code. I am connecting CCS6.2 to Matlab2023b, but i’m getting an error when i use code "ticcs(‘boardnum’,0, ‘procnum’, 0)" to identify F2812 board. I used it by Matlab2011 and i didn’t have any problem. Anyone can help me please?
I want to create a CCS object in the matlab GUI host program, so that I can control the start and stop of the DSP and the transmission of data after the model is automatically generated into code. matlab, simulink, ccs, dsp, ticcs MATLAB Answers — New Questions
Does anyone know how to connect the ccsv6 with the Matlab2015a, using the prompt command? I’m using the ticcs but it didn’t work.
cc = ticcs
Registering DLLs…
IDE Link successfully registered its plug-in for Code Composer Studio (CCS).
If CCS prompts you that "New components were detected,"
click Yes or OK in the prompt dialog box to enable components
for all compatible CCS installations.
Error using Link.ccssetup/Connect
Cannot start CCS application (COM error ID: 0x80040154). Verify that your CCS software is installed and configured
properly.
Error in ticcs>Connect2App_CheckIdeVersion (line 244)
hccs.Connect(1);
Error in ticcs (line 132)
hccs = Connect2App_CheckIdeVersion;cc = ticcs
Registering DLLs…
IDE Link successfully registered its plug-in for Code Composer Studio (CCS).
If CCS prompts you that "New components were detected,"
click Yes or OK in the prompt dialog box to enable components
for all compatible CCS installations.
Error using Link.ccssetup/Connect
Cannot start CCS application (COM error ID: 0x80040154). Verify that your CCS software is installed and configured
properly.
Error in ticcs>Connect2App_CheckIdeVersion (line 244)
hccs.Connect(1);
Error in ticcs (line 132)
hccs = Connect2App_CheckIdeVersion; cc = ticcs
Registering DLLs…
IDE Link successfully registered its plug-in for Code Composer Studio (CCS).
If CCS prompts you that "New components were detected,"
click Yes or OK in the prompt dialog box to enable components
for all compatible CCS installations.
Error using Link.ccssetup/Connect
Cannot start CCS application (COM error ID: 0x80040154). Verify that your CCS software is installed and configured
properly.
Error in ticcs>Connect2App_CheckIdeVersion (line 244)
hccs.Connect(1);
Error in ticcs (line 132)
hccs = Connect2App_CheckIdeVersion; target, ticcs, f28335, embedded matlab function MATLAB Answers — New Questions
Rapid Accelerator and sldrt.tlc compile issue: Code Generation and simulation targets registered different sets of persistent variables for the block.
Hello,
When I run my code with normal or accelerator mode or compile using grt.tlc my model executes succesfully. If I attempt to use rapid accelerator or sldrt.tlc, I receive this error:
Code generation and simulation targets registered different sets of persistent variables for the block. External or Rapid Accelerator mode simulation requires code generation and simulation targets to register the same set of persistent variables for this block. This discrepancy is typically caused by MATLAB functions that have different code paths for simulation and code generation targets where these code paths define different sets of persistent variables. Please identify these code paths in the offending block and rewrite the MATLAB code so that the set of persistent variables is the same between simulation and code generation.
This model is based almost entirely around stateflow and simply imports data from a binary file reader.
Things I’ve tried:
Completely removed persistent variables from called matlab functions
Followed this heirarchy for compiling matlab functions, made everything a subfunction, and then removed all extra files from the folder location. https://www.mathworks.com/help/coder/ug/how-matlab-resolves-function-calls-in-generated-code.html
Tried various other compiling targets. Embedded coder returns a sizing error that I don’t intend to fix currently.grt.tlc works great.
I can’t find any information on the 2 seperate paths the error is referring to so I would be interested in knowing if that’s a setting somewhere.Hello,
When I run my code with normal or accelerator mode or compile using grt.tlc my model executes succesfully. If I attempt to use rapid accelerator or sldrt.tlc, I receive this error:
Code generation and simulation targets registered different sets of persistent variables for the block. External or Rapid Accelerator mode simulation requires code generation and simulation targets to register the same set of persistent variables for this block. This discrepancy is typically caused by MATLAB functions that have different code paths for simulation and code generation targets where these code paths define different sets of persistent variables. Please identify these code paths in the offending block and rewrite the MATLAB code so that the set of persistent variables is the same between simulation and code generation.
This model is based almost entirely around stateflow and simply imports data from a binary file reader.
Things I’ve tried:
Completely removed persistent variables from called matlab functions
Followed this heirarchy for compiling matlab functions, made everything a subfunction, and then removed all extra files from the folder location. https://www.mathworks.com/help/coder/ug/how-matlab-resolves-function-calls-in-generated-code.html
Tried various other compiling targets. Embedded coder returns a sizing error that I don’t intend to fix currently.grt.tlc works great.
I can’t find any information on the 2 seperate paths the error is referring to so I would be interested in knowing if that’s a setting somewhere. Hello,
When I run my code with normal or accelerator mode or compile using grt.tlc my model executes succesfully. If I attempt to use rapid accelerator or sldrt.tlc, I receive this error:
Code generation and simulation targets registered different sets of persistent variables for the block. External or Rapid Accelerator mode simulation requires code generation and simulation targets to register the same set of persistent variables for this block. This discrepancy is typically caused by MATLAB functions that have different code paths for simulation and code generation targets where these code paths define different sets of persistent variables. Please identify these code paths in the offending block and rewrite the MATLAB code so that the set of persistent variables is the same between simulation and code generation.
This model is based almost entirely around stateflow and simply imports data from a binary file reader.
Things I’ve tried:
Completely removed persistent variables from called matlab functions
Followed this heirarchy for compiling matlab functions, made everything a subfunction, and then removed all extra files from the folder location. https://www.mathworks.com/help/coder/ug/how-matlab-resolves-function-calls-in-generated-code.html
Tried various other compiling targets. Embedded coder returns a sizing error that I don’t intend to fix currently.grt.tlc works great.
I can’t find any information on the 2 seperate paths the error is referring to so I would be interested in knowing if that’s a setting somewhere. simulink, stateflow, persistent variables, pathing MATLAB Answers — New Questions
Hello everyone, please help me with this error Error:Invalid
Error:Invalid setting for input port dimensions of ‘VPP_5_3_2025/Three-Phase Dynamic Load/Model/Demux3’. The dimensions are being set to 1440. This is not valid because the total number of input and output elements are not the same
Error:Error in port widths or dimensions. Invalid dimension has been specified for ‘Input Port 2’ of ‘VPP_5_3_2025/Three-Phase Dynamic Load/Model/Real-Imag to Complex’.Error:Invalid setting for input port dimensions of ‘VPP_5_3_2025/Three-Phase Dynamic Load/Model/Demux3’. The dimensions are being set to 1440. This is not valid because the total number of input and output elements are not the same
Error:Error in port widths or dimensions. Invalid dimension has been specified for ‘Input Port 2’ of ‘VPP_5_3_2025/Three-Phase Dynamic Load/Model/Real-Imag to Complex’. Error:Invalid setting for input port dimensions of ‘VPP_5_3_2025/Three-Phase Dynamic Load/Model/Demux3’. The dimensions are being set to 1440. This is not valid because the total number of input and output elements are not the same
Error:Error in port widths or dimensions. Invalid dimension has been specified for ‘Input Port 2’ of ‘VPP_5_3_2025/Three-Phase Dynamic Load/Model/Real-Imag to Complex’. error, demux, three-phase dynamic load MATLAB Answers — New Questions
How to Create and Send an Outlook Newsletter
Outlook Newsletters App for Outlook and OWA
Message center notifications MC1009916 (19 February 2025, Microsoft 365 roadmap item 328282) describes the new Outlook Newsletters solution, designed to create and send high-quality internal newsletters. The app is rolling out now in preview to targeted tenants. Standard tenants are likely to see Outlook Newsletters before the end of March 2025. General availability is scheduled for August 2025.
Outlook Newsletters is an app constructed from components drawn from the Microsoft 365 software toolbox like SharePoint Embedded, Microsoft Designer, Outlook reactions, comments, and so on. It’s a good example of how to combine available components with new code to create new apps.
Enabling Outlook Newsletters
Outlook Newsletters is an opt-in solution, meaning that it must be enabled before it appears in the menu bar for the new Outlook for Windows or OWA. Enablement is through settings in the OWA mailbox policies applied to mailboxes. Three policy settings are available (the administrator documentation is sparse and likely to be overhauled before general release):
- OutlookNewslettersAccessLevel: defines the access level a mailbox has to Outlook Newsletters. To create and send newsletters, this setting must be ReadWrite. Users with ReadOnly access can open the Newsletters app but can’t create or send newsletters. The default is no value, which equates to NoAccess.
- OutlookNewslettersReactions: Set to DefaultOn to make it the default that newsletters allow recipients to react in the same way as they react to normal Outlook email. Reactions can only be posted by internal recipients.
- OutlookNewslettersShowMore: Set to DefaultOn to make it the default for newsletters to display other newsletters at the bottom of a message. The idea is that recipients might find newsletters to subscribe to.
For example, this command allows any mailbox with the scope of the OWAFullAccess policy to have read write access to the Newsletters app with the other features enabled by default.
Set-OwaMailboxPolicy -Identity OWAFullAccess -OutlookNewslettersReactions DefaultOn -OutlookNewslettersAccessLevel ReadWrite -OutlookNewslettersShowMore DefaultOn
After updating the mailbox policy, it will take between 15 and 30 minutes before the Newsletters app becomes available to users in the Outlook menu bar. Alternatively, users can open the app using the direct link.
Quick Tour of Outlook Newsletters
The user documentation for Outlook Newsletters is available online and doesn’t need to be repeated here. Instead, I’ll describe how I created and sent a newsletter in just a few minutes.
After opening the app, you can choose to create a newsletter or group page. A group page is recommended when a newsletter has multiple contributors and multiple newsletters will be created with common branding, so that’s what I created (Figure 1). I added a heading and some common settings shared by all the newsletters associated with the group page.

Next, create a newsletter by selecting one of the out-of-the-box templates or a blank template. I used the basic template, which seemed like a good starting point to create a newsletter to circulate details of blog posts published over the last month.

Creating the content of a newsletter is a matter of editing the elements contained in sections. A template contains prepopulated sections to make the task easier, but you can add or remove elements as you like to create the desired effect. In my case, I extracted snippets and links for blog posts and combined them with images to highlight each article. Suitable images can be uploaded or generated using Microsoft Designer.
Draft newsletters and comments are stored in SharePoint Embedded containers and are visible through the SharePoint admin center (Figure 3) and PowerShell. Unhappily, an application name isn’t registered for the containers used by Outlook Newsletters. No doubt this is a detail that Microsoft will clean up before GA.

When the newsletter is complete, it’s ready for sending. This process involves creating a HTML format body part and combining it with message properties like the message title and recipients (Figure 4) before sending the message from the author’s mailbox, much like you’d do with Graph APIs.

Only known recipients can receive newsletters. A known recipient is an emailable object known to Exchange Online, including distribution lists, Microsoft 365 groups, individual mailboxes, mail user objects for guest accounts, and mail contacts.
You can enter an SMTP address, but Outlook drops these addresses if they don’t match with a known recipient when it sends the message. The golden rule is that to send a newsletter to an external address, the address must belong to a known recipient. This isn’t a big deal because it’s easy to create a mail contact for an external recipient, even for something like the email address for a team channel.
When sent, copies of the newsletter are normal messages in recipient mailboxes. After it is sent, the newsletter remains available for editing in the Newsletters app. If you make some changes and send another version, everyone in the recipient list receives a new copy.
Lots to Like
There’s lots to like about the Outlook newsletters app. The output generated looks well, basic analytics are included, newsletters support subscribe and unsubscribe options, messages can be sent from one mailbox with replies going back to a different mailbox, and so on. It’s definitely an app that people who send internal communications can find value.
Although it’s possible to send newsletters externally, restrictions like the new tenant-wide external recipient limit in Exchange Online constrain sending high volume communications, even if you add all the external email address as mail contacts. Used properly for internal communications, Outlook newsletters have the potential to be very successful.
So much change, all the time. It’s a challenge to stay abreast of all the updates Microsoft makes across the Microsoft 365 ecosystem. Subscribe to the Office 365 for IT Pros eBook to receive monthly insights into what happens, why it happens, and what new features and capabilities mean for your tenant.
What is the relationship between the simulation time tf in simulink and the actual running time of the system? If my system needs to run 800s before it can be stable, then tf
What is the relationship between the simulation time tf in simulink and the actual running time of the system? If my system needs to run 800s before it can be stable, then tf in simulink must also be 800s, or I just need 800 steps, then the simulation time tf can be 80s, and the sampling time ts can be 0.1s, is that right? I don’t understand, because if I set the simulation time tf to 800s, it will take me a very long time to train with reinforcement learning.What is the relationship between the simulation time tf in simulink and the actual running time of the system? If my system needs to run 800s before it can be stable, then tf in simulink must also be 800s, or I just need 800 steps, then the simulation time tf can be 80s, and the sampling time ts can be 0.1s, is that right? I don’t understand, because if I set the simulation time tf to 800s, it will take me a very long time to train with reinforcement learning. What is the relationship between the simulation time tf in simulink and the actual running time of the system? If my system needs to run 800s before it can be stable, then tf in simulink must also be 800s, or I just need 800 steps, then the simulation time tf can be 80s, and the sampling time ts can be 0.1s, is that right? I don’t understand, because if I set the simulation time tf to 800s, it will take me a very long time to train with reinforcement learning. simulation time tf sampling time ts maxsteps MATLAB Answers — New Questions
Model Info in Matlab 2023b Simulink does not start displaying from top
Jumped from Matlab 2019b to 2023b and now the model info block doesnt work as expected
See screenshot below
The first row says
"This row should be at the top"
And we expect that it is what you see in the preview box in yellow.Jumped from Matlab 2019b to 2023b and now the model info block doesnt work as expected
See screenshot below
The first row says
"This row should be at the top"
And we expect that it is what you see in the preview box in yellow. Jumped from Matlab 2019b to 2023b and now the model info block doesnt work as expected
See screenshot below
The first row says
"This row should be at the top"
And we expect that it is what you see in the preview box in yellow. model-info MATLAB Answers — New Questions